通过我们自己的 Graph Api 从 Facebook 照片中取消标记
在我的应用程序中,我希望用户能够从照片中取消自己的标签。我已启用权限:user_photos、friends_photos、publish_stream、publish_actions、user_status。
当我尝试时,我收到如下错误:
{"error":{"type":"OAuthException","message":"(#3) 应用程序无法进行此 API 调用。"}}
方式进行删除时:
https://graph.facebook.com/some_photo_id/tags/user_id?access_token=a_valid_access_token&callback=whatever&method=delete&pretty=0&sdk=joey
当我尝试通过以下 需要添加其他权限吗?当我在谷歌搜索时,我发现了一个与相同问题相关的链接; facebook 是否限制删除照片?
In my app I want the user to be able to untag himself from a photo. I have enabled the permissions: user_photos, friends_photos, publish_stream, publish_actions, user_status.
When I tried it I am getting an error as follows:
{"error":{"type":"OAuthException","message":"(#3) Application does not have the capability to make this API call."}}
When I try to do the deletion via:
https://graph.facebook.com/some_photo_id/tags/user_id?access_token=a_valid_access_token&callback=whatever&method=delete&pretty=0&sdk=joey
Is there any other permissions to be added? When I was googling I found a link related to be the same question;
is it facebook restricting to delete a photo?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
照片只能由上传照片的应用程序删除。
也没有用于删除照片标签的API,仅用于添加和修改标签
Photos can only be deleted by the application that uploaded them.
There is also no API for removing photo tags, only for adding and modifying tags
您可以从图表 api 中删除照片标签,请参阅此处了解完整详细信息照片取消标签 api。
但您的应用程序必须是白名单应用程序。
You can delete photo tags from graph api see HERE for complete detail of photo untag api.
But your application must be a whitelisted app.