上传视频至 Facebook 相册
我已创建 Facebook 相册并拥有相册 ID。我可以使用 /photos API 将照片上传到相册。但我无法使用 /videos API 等上传视频。我收到错误消息:
“(#200) 用户无权发布到目标”
1) 这是否是受支持的 API 调用?我在 Facebook 的开发者网站上找不到太多这方面的信息。 2)是否是权限标志问题?我已经请求了publish_stream、photo_upload、video_upload、user_photos、user_videos。我不知道 photo_upload/video_upload 是否正确,但看到其他网站上有关 photo_upload 的示例,所以我只是假设可能有 video_upload。
I've created a Facebook album and have the album ID. I'm able to upload a photo to the album using the /photos API. But I can't upload a video using something like /videos API. I get the error message:
"(#200) User does not have permission to post to target"
1) Is that even a supported API call? I couldn't find much on Facebook's developer site on this.
2) Is it a permission flag problem? I have publish_stream, photo_upload, video_upload, user_photos, user_videos all requested. I don't know if photo_upload/video_upload are even proper ones, but saw examples from other sites about photo_upload so I just assumed there might be a video_upload.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以上传视频。
确保您发布到的地方是您获得许可的地方。您可以在 http://developers.facebook.com/blog/post/ 查看代码示例493/
代码提取如下:
yes, you can upload video.
Make sure you are posting to a place where u get permission to do so. You can see an example with code at http://developers.facebook.com/blog/post/493/
code extracted below: