-
-
Notifications
You must be signed in to change notification settings - Fork 187
Permissions
nov matake edited this page Aug 8, 2011
·
1 revision
me = FbGraph::User.me(ACCESS_TOKEN)
me.permissions # => Array of approved permissions
me.permissions.include?(:email)
:
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)