通过 Graph API 从 fb:comments 中删除用户发布的评论?
我在应用程序中有一个评论框()。
通过 Graph Api,我可以从此评论框中获取所有新评论。
我的问题是: 是否可以使用 Graph API 删除用户发布的评论?
使用 Graph APi Explorer,我尝试使用以下命令调用“DELETE https://graph.facebook.com/”用户访问令牌,但我得到了一个错误的答案:
{
error: {
type: "OAuthException",
message: "(#200) Users can only delete their own comments",
},
}
我还在开发者应用程序页面中使用 Facebook 提供的应用程序访问令牌进行了测试,但没有成功。此应用程序访问令牌没有权限。
请问你有什么想法吗?
谢谢!
I have a comment box in an application ().
With Graph Api I can get all new comments from this comment box .
My issue is that:
is it possible to remove a comment posted by an user with Graph API?
With Graph APi Explorer, i have tried to call "DELETE https://graph.facebook.com/" with an user access token but I have got a bad answer:
{
error: {
type: "OAuthException",
message: "(#200) Users can only delete their own comments",
},
}
I have also test with the app access token give to me by Facebook in developper app page, but with no success. This app access token have no permissions.
Have you an idea please?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前无法通过 Graph API 从评论框中删除评论。您可以管理评论以隐藏/增强评论或禁止用户使用开发者应用程序 (http://developers.facebook.com/apps) 或直接从评论框(前提是添加了适当的开放图元标签)。
It is currently not possible to remove comments from the comments box via the Graph API. You can moderate comments to hide/boost a comment or ban a user from the Developer App (http://developers.facebook.com/apps) or directly from the comments box (provided the appropriate open graph meta tags are added).