Facebook API - delete status

前端 未结 6 917
你的背包
你的背包 2021-01-02 20:29

In PHP, I\'m using curl to send a delete to the fb graph api - and yet I\'m getting the following error;

{\"error\":{\"type\":\"GraphMethodException\",\"mes         


        
6条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-02 21:08

    It simply means that the HTTP delete method isn't supported for that specific object.

    One option is to use Http POST and add method=delete to the parameter query. Make sure that your application has a publish_stream permission else you can never publish a feed. Permissions are done by Facebook.

提交回复
热议问题