Has anyone figured out how to delete an event using the Facebook php-sdk? Not finding documentation on how to do this.
Asked
Active
Viewed 881 times
1
-
Have you asked for the `create_event` permission? – ifaour May 09 '11 at 20:47
-
You might be interested in this SO question http://stackoverflow.com/questions/5012268/facebook-graph-api-php-sdk-deleting-events – Pravin May 09 '11 at 19:36
1 Answers
0
This works for me.
$tokenArray = array(
'access_token' => $token
);
$facebook->api('/'.$fbEventId, "DELETE", $tokenArray);

mb21
- 34,845
- 8
- 116
- 142