Learn R Programming

facebook.S4 (version 1.1.0)

facebook.permissions: Extract information about the permissions for the current user

Description

facebook.permissions retrieves informations about the permissions the current user actually has with the current application.

Usage

facebook.permissions(token)

Arguments

token

Either a temporary access token created at https://developers.facebook.com/tools/explorer or the OAuth token created with fbOAuth.

Details

facebook.permissions returns a character vector where each row is an action the authenticated user is granted to perform through Facebook Graph API with the current token.

See Also

fbOAuth

Examples

Run this code
# NOT RUN {
## See examples for fbOAuth to know how token was created.
## Getting information about current user's permissions.
load("fb_oauth")
me.permissions <- facebook.permissions(token=fb_oauth)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab