what is the right way to do revokeAuthorization in new Javascript SDK?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
as javascript sdk allows us to makes API calls to the Graph API or Deprecated REST API via the FB.api method, you can revoke Authorization via invoking the auth.revokeAuthorization old rest api method.
you can refer to the following fb doc for the usage of FB.api and auth.revokeAuthorization:
http://developers.facebook.com/docs/reference/javascript/FB.api/
http://developers.facebook.com/docs/reference/rest/auth.revokeAuthorization/