使用iOS Facebook SDK,Facebook仍然允许通过FBSDKShareDialog发布视频吗?
1. I tried using `FBSDKShareVideoContent`, I get the following error
let content = FBSDKShareVideoContent()
content.video = video
let dialog: FBSDKShareDialog = FBSDKShareDialog()
dialog.fromViewController = self
dialog.shareContent = content
dialog.delegate = self
dialog.mode = FBSDKShareDialogMode.feedBrowser
if !dialog.canShow() {
dialog.mode = FBSDKShareDialogMode.automatic
}
dialog.show()
"This app is not allowed to query for scheme fbapi20150629"
2. I tried uploading to S3 and using `FBSDKShareLinkContent`, but when the user
creates a post they are presented with a gray box instead of a video preview.
let content: FBSDKShareLinkContent = FBSDKShareLinkContent()
content.contentURL = URL(string: videoS3URL)
...
(same as above)
关于如何通过iOS应用将视频发布到Facebook并在帖子中显示视频预览的任何想法?要么避免选项1中的权限错误,要么为选项2添加元数据,这些元数据将作为视频预览显示在Facebook帖子中?