Remove access for facebook app based on client_id -


how remove access facebook app based on client_id used?

e.g. assuming clicks on link looks this:

https://www.facebook.com/dialog/oauth?client_id=client_id_string&redirect_uri= https://www.facebook.com/connect/login_success.html&scope=basic_info,email,public_profile, user_about_me,user_activities,user_birthday,user_education_history,user_friends, user_interests,user_likes,user_location,user_photos,user_relationship_details& response_type=token

and have client_id_string how revoke access via facebook?

https://developers.facebook.com/docs/graph-api/reference/user/permissions

see "revoking permissions" in docs. can´t remove app itself, can remove permissions.

you can revoke specific permission making call graph api endpoint:

delete /{user-id}/permissions/{permission-name}

this request must made user access token or app access token current app. if request successful, receive response of true.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -