I have a web app that adds an application to a users profile, and requests extended permissions.
I can\'t seem to find if there is a way to use a script to remove th
I have a PHP example if anyone is interested (with Graph v5 in 2017):
# v5 with default access token fallback
$fb = new Facebook\Facebook([/* . . . */]);
$fb->setDefaultAccessToken('{access-token}');
# These will fall back to the default access token
$response = $fb->get('/me');
$response = $fb->post('/me/feed', $data);
$response = $fb->delete('/123', $data);
So you would have to use:
$response = $fb->delete('/123', $data);
Instead of using the FacebookRequest class in v4.