首页 文章

如何将Facebook页面中的视频显示到我的IOS应用程序?

提问于
浏览
-2

如何将Facebook页面中的视频显示到我的IOS应用程序 . 我知道来自Facebook的显示视频,但我需要显示来自Facebook页面的视频https://developers.facebook.com/docs/graph-api/reference/video

[FBRequestConnection startWithGraphPath:@"/me/videos"
                             parameters:nil
                             HTTPMethod:@"GET"
                      completionHandler:^(
                          FBRequestConnection *connection,
                          id result,
                          NSError *error
                      ) {
                          /* handle the result */
                      }];

1 回答

  • 0

    您将从Facebook API获取视频 url ,用于加载 URL 使用 AVPlayer .

    编辑:

    请阅读本文Facebook developer

相关问题