Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove the application from a user using graph API

I am developing a facebook application, I want to remove my application from a user using Graph API, is there any way to do this.

like image 950
user772433 Avatar asked Jul 09 '11 10:07

user772433


People also ask

How do you give API permissions on a graph?

Go to the app's API permissions page. Select Add a permission and then choose Microsoft Graph in the flyout. Select Delegated permissions. Use the search box to find and select the required permissions.

What is delegated permission in graph API?

Delegated permissions are used by apps that have a signed-in user present. For these apps, either the user or an administrator consents to the permissions that the app requests and the app can act as the signed-in user when making calls to Microsoft Graph.

Is graph API deprecated?

Azure Active Directory (Azure AD) Graph is deprecated but won't be retired on June 30, 2022 as previously announced.


1 Answers

When the user is connected, do:

FB.api("/me/permissions","DELETE",function(response){
    console.log(response); //gives true on app delete success 
});
like image 163
Qlimax Avatar answered Sep 25 '22 10:09

Qlimax