View source: R/authorization.R
| fbGetToken | R Documentation | 
Get API facebook token for access to facebook ads API.
fbGetToken(
  app_id = NULL,
  scopes = c("ads_read", "business_management", "pages_manage_ads", "ads_management",
    "public_profile")
)
| app_id | ID of your Facebook App | 
| scopes | Permissions provide a way for your app to access data from Facebook. For detail see docmentation | 
API token
## Not run: 
tkn <- fbGetToken()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.