fbGetPages {rfacebookstat}R Documentation

Get pages list

Description

Load data about all avable pages

Usage

fbGetPages(accounts_id  = getOption("rfacebookstat.accounts_id"), 
           api_version  = getOption("rfacebookstat.api_version"), 
           username     = getOption("rfacebookstat.username"),
           token_path   = fbTokenPath(),
           access_token = getOption("rfacebookstat.access_token"))

Arguments

accounts_id

Facebook Ad Account ID.

api_version

Current Facebook API version.

username

your username on Facebook

token_path

path to dir with credentials

access_token

Your facebook API token.

Value

Data frame with pages list

Author(s)

Alexey Seleznev

Examples

## Not run: 
accounts <- fbGetAccounts()
fbPages <- fbGetPages(accounts$id)

## End(Not run)

[Package rfacebookstat version 2.11.0 Index]