Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fb::Auth#revoke seems not working #27

Open
kangkyu opened this issue Jul 5, 2018 · 2 comments
Open

Fb::Auth#revoke seems not working #27

kangkyu opened this issue Jul 5, 2018 · 2 comments

Comments

@kangkyu
Copy link
Contributor

kangkyu commented Jul 5, 2018

Fb::Auth.new(refresh_token: ACCESS_TOKEN).revoke

returns an error

Fb::HTTPError: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.

@kangkyu
Copy link
Contributor Author

kangkyu commented Jul 5, 2018

it runs this request by the way

curl -X DELETE "https://graph.facebook.com/v2.9/me/permissions?access_token=ACCESS_TOKEN"

@kangkyu
Copy link
Contributor Author

kangkyu commented Jul 5, 2018

This might be a problem with the user access token (ACCESS_TOKEN). It works when a new token is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant