Delete a comment by Graph API from fb:comments posted by an user?
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开发者_JAVA百科 me by Facebook in developper app page, but with no success. This app access token have no permissions.
Have you an idea please?
Thanks!
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).
精彩评论