Learn R Programming

lares (version 5.1.0)

fb_token: Facebook's Long Life User Token

Description

Using a 1-hour generic user token you can generate a 60 day token. You will need to have an App ID and App secret, and a valid token. Generate a new valid User Token with the API Graph.

Usage

fb_token(app_id, app_secret, token, api_version = "v11.0")

Arguments

app_id, app_secret

Character. Application ID and Secret.

token

Character. User token, created with API Graph or with this same fb_token()'s token.

api_version

Character. Facebook API version

Value

Character. String with token requested.

Details

More info: Long-Lived Access Tokens

See Also

Other API: bring_api(), fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_posts(), fb_post(), fb_process(), fb_rf(), li_auth(), li_profile(), queryGA(), slackSend()

Other Facebook: fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_posts(), fb_post(), fb_process(), fb_rf()