Learn R Programming

rfacebookstat (version 2.11.0)

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")
)

Value

API token

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 code
if (FALSE) {
tkn <- fbGetToken()
}

Run the code above in your browser using DataLab