Permissions - nov/fb_graph GitHub Wiki

Permissions

Fetching

me = FbGraph::User.me(ACCESS_TOKEN)
me.permissions # => Array of approved permissions
me.permissions.include?(:email)
 :

Revoking

me = FbGraph::User.me(ACCESS_TOKEN)
me.revoke! :email # => Revoke "email" permission
me.revoke! # => de-authorize whole permissions (your access token will be invalidated after this call)
⚠️ **GitHub.com Fallback** ⚠️