Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete post in facebook by id using php, graph API [closed]

Can someone tell me how can I delete my own posts in facebook by id using PHP , graph API I'd searched in google but I didn't find anything :(

Thanks in advance

like image 394
Hmache Avatar asked Jan 20 '15 11:01

Hmache


People also ask

How do I use Facebook Graph API and extract data?

To use the Graph API Explorer tool, go to developers.facebook.com/tools/explorer. Generate the access token you need to extract data from the Facebook Graph API by selecting Get User Access Token from the App Token drop-down menu under the name of your app.

Is Facebook Graph API deprecated?

Graph API Version Deprecations: November 2, 2021: Graph API v4. 0 will be deprecated and removed from the platform. February 3, 2022: Graph API v5. 0 will be deprecated and removed from the platform.


1 Answers

https://developers.facebook.com/docs/graph-api/reference/v2.2/post#deleting

Important:

An app can delete a post if it published it

Which means, you can NOT delete posts created without the App.

like image 168
andyrandy Avatar answered Sep 28 '22 16:09

andyrandy