fbGetPages: 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"))
Value
Data frame with pages list
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.
Examples
Run this codeif (FALSE) {
accounts <- fbGetAccounts()
fbPages <- fbGetPages(accounts$id)
}
Run the code above in your browser using DataLab