| fbGetPages | R Documentation | 
Load data about all avable pages
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"))
| 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. | 
Data frame with pages list
Alexey Seleznev
## Not run: 
accounts <- fbGetAccounts()
fbPages <- fbGetPages(accounts$id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.