Learn R Programming

rfacebookstat (version 2.11.0)

fbGetAdAccountUsers: Get User List From Account

Description

fbGetAdAccountUsers get data frame with adaccounts user list in R.

Usage

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"))

Value

Data frame with ad account list.

Arguments

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.

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
accountUsers <- fbGetAdAccountUsers(accounts_id = c("act_00001","act_00002"), 
                                    bussiness_id = 1111111,
                                    access_token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
}

Run the code above in your browser using DataLab