fbGetToken: Get API facebook token.

View source: R/authorization.R

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

rfacebookstat documentation built on May 31, 2023, 7:27 p.m.