Learn R Programming

rfacebookstat (version 2.11.0)

fbGetCatalogs: Get catalogs

Description

Load catalogs from business maneger.

Usage

fbGetCatalogs(business_id  = getOption("rfacebookstat.business_id") ,
              api_version  = getOption("rfacebookstat.api_version"),
			  username          = getOption("rfacebookstat.username"),
              token_path        = fbTokenPath(),
              access_token = getOption("rfacebookstat.access_token"))

Value

Data frame with project list

Arguments

business_id

ID by your Business Manager

api_version

Current Facebook API version.

username

your username on Facebook

token_path

path to dir with credentials

access_token

Your API facebook token

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
bc <- fbGetCatalogs(business_id = 1111111111,
                    access_token = "xxxxxxxx")
 }

Run the code above in your browser using DataLab