Facebook SDK and Graph API Comment Deleting Error

前端 未结 3 1336
鱼传尺愫
鱼传尺愫 2020-12-20 07:23

Working with the Facebook php SDK\'s, I am having a lot of trouble figuring out how to delete comments, given its id and xid.

At first I was using the REST API, wher

相关标签:
3条回答
  • 2020-12-20 08:03

    Try with this:

    FB.api('/'+_idComment, 'get', { method:'delete' }, function(response){ //Your code }

    0 讨论(0)
  • 2020-12-20 08:07

    Fixed!

    You have to prepend the userid to the object ID when deleting:

    DELETE https://graph.facebook.com/673509687_104812882909249?access_token={access_token} where 673509687 is my userID and 104812882909249 is the objectID

    0 讨论(0)
  • 2020-12-20 08:16

    Hopefully we can get this looked at: http://bugs.developers.facebook.com/show_bug.cgi?id=10413 or http://bugs.developers.facebook.com/show_bug.cgi?id=10434

    0 讨论(0)
提交回复
热议问题