Learn R Programming

rfacebookstat (version 2.11.0)

fbGetBusinessManagersUsers: Get a list of business manager users

Description

Loading user list from business managers.

Usage

fbGetBusinessManagersUsers(
   business_ids = getOption("rfacebookstat.business_id"),
   user_types   = c('business_users', 
                    'system_users', 
                    'pending_users'),
   api_version  = getOption("rfacebookstat.api_version"), 
   username     = getOption("rfacebookstat.username"),
   token_path   = fbTokenPath(),
   access_token = getOption("rfacebookstat.access_token"))

Value

Data frame with bussiness managers user list.

Arguments

business_ids

IDs by your Business Manager

user_types

user types: business_users, system_users, pending_users.

username

your username on Facebook

token_path

path to dir with credentials

access_token

Your facebook API token.

api_version

Current Facebook API version.

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
options(rfacebookstat.business_id  = 000000000000)

bm_users <- fbGetBusinessManagersUsers()
}

Run the code above in your browser using DataLab