rfacebookstat (version 2.1.7)

fbAuth: Authorization in Facebook.

Description

Wrapper for fbGetToken() and fbGetLongtimeToken().

Usage

fbAuth(username    = getOption("rfacebookstat.username"),
       app_id      = getOption("rfacebookstat.app_id"), 
       app_secret  = getOption("rfacebookstat.app_secret"), 
       token_path  = fbTokenPath(),
	     reauth      = FALSE,
       skip_option = FALSE)

Arguments

username

your username on Facebook

app_id

ID of Facebook App

app_secret

Secret of Facebook App

token_path

path to dir with credentials

reauth

boolean, do reauthorization

skip_option

logical, skip access token from options or not

Value

API token object

Examples

Run this code
# NOT RUN {
fbAuth()
# }

Run the code above in your browser using DataLab