You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nov matake edited this page Aug 8, 2011
·
1 revision
Permissions
Fetching
me=FbGraph::User.me(ACCESS_TOKEN)me.permissions# => Array of approved permissionsme.permissions.include?(:email)
:
Revoking
me=FbGraph::User.me(ACCESS_TOKEN)me.revoke!:email# => Revoke "email" permissionme.revoke!# => de-authorize whole permissions (your access token will be invalidated after this call)