fb_token | R Documentation |
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.
fb_token(app_id, app_secret, token, api_version = NULL)
app_id , app_secret |
Character. Application ID and Secret. |
token |
Character. User token, created with
API Graph
or with this same |
api_version |
Character. Facebook API version. |
More info: Long-Lived Access Tokens
Character. String with token requested. If successful, it'll contain an attribute called "expiration" with date and time of expiration.
Other API:
bring_api()
,
fb_accounts()
,
fb_ads()
,
fb_creatives()
,
fb_insights()
,
fb_process()
,
fb_report_check()
,
fb_rf()
,
gemini_ask()
,
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.