fb_token: Facebook's Long-Life User API Token

fb_tokenR Documentation

Facebook's Long-Life User API 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 = NULL)

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.

Details

More info: Long-Lived Access Tokens

Value

Character. String with token requested. If successful, it'll contain an attribute called "expiration" with date and time of expiration.

See Also

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

Other Meta: fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_process(), fb_report_check(), fb_rf()


lares documentation built on Nov. 5, 2023, 1:09 a.m.