fbGetToken: Get API facebook token.
Description
Get API facebook token for access to facebook ads API.
Usage
fbGetToken(
app_id = NULL,
scopes = c("ads_read", "business_management", "pages_manage_ads", "ads_management",
"public_profile")
)
Arguments
- app_id
ID of your Facebook App
- scopes
Permissions provide a way for your app to access data from Facebook. For detail see docmentation
Examples
Run this codeif (FALSE) {
tkn <- fbGetToken()
}
Run the code above in your browser using DataLab