Facebook SDK and Graph API Comment Deleting Error

前端 未结 3 1350
鱼传尺愫
鱼传尺愫 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条回答
  •  梦毁少年i
    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

提交回复
热议问题