I have this code to unauthorize my FB application for the current user:
FB.api({ method: 'Auth.revokeAuthorization' });
Uses obsolete REST API. How can I do the same with the OpenGraph API using the FB.api method?
I understood:
FB.api("/me/permissions", "delete", function(response){});
In the graph API, you can send an HTTP DELETE request to
https://graph.facebook.com/_UID_/permissions
this should deauthorize the application