View source: R/fbGetAdAccountUsers.R
fbGetAdAccountUsers | R Documentation |
fbGetAdAccountUsers get data frame with adaccounts user list in R.
fbGetAdAccountUsers(
accounts_id = getOption("rfacebookstat.accounts_id"),
business_id = getOption("rfacebookstat.business_id"),
api_version = getOption("rfacebookstat.api_version"),
console_type = "progressbar",
username = getOption("rfacebookstat.username"),
token_path = fbTokenPath(),
access_token = getOption("rfacebookstat.access_token"))
accounts_id |
vector with ID of your ad account, for example c("act_00001","act_00002"). |
business_id |
ID by your Business Manager |
access_token |
Your facebook API token. |
console_type |
Console output type, "progressbar" or "message" |
username |
your username on Facebook |
token_path |
path to dir with credentials |
api_version |
Current Facebook API version. |
Data frame with ad account list.
Alexey Seleznev
## Not run:
accountUsers <- fbGetAdAccountUsers(accounts_id = c("act_00001","act_00002"),
bussiness_id = 1111111,
access_token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.