Learn R Programming

rfacebookstat (version 2.11.0)

fbGetAdVideos: Get videos list from ad accounts

Description

Load all videos from faceboob ad accounts.

Usage

fbGetAdVideos(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 video parameters list.

Arguments

accounts_id

Your account ID, for example 'act_11111111111111111'.

api_version

Current Facebook API version.

username

Your username on Facebook

token_path

Path to dir with credentials

access_token

Your facebook API token.

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
ads <- fbGetAdVideos()
}

Run the code above in your browser using DataLab