fbGetToken {rfacebookstat}R Documentation

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

Value

API token

Examples

## Not run: 
tkn <- fbGetToken()

## End(Not run)

[Package rfacebookstat version 2.10.0 Index]