listVideos: List videos

Description Usage Arguments Author(s) Examples

Description

Fetches the list of videos under a given account.

Usage

1
2
listVideos(id, token, fields = "default", n = 100, verbose = FALSE,
  limit = 100)

Arguments

id

The id of the object you want to grab from (Required), see how to find yours.

token

A valid token as returned by fbAuthenticate or a short-term token from facebook Graph API Explorer.

fields

Defaults to default (id and name). See findFields

n

Number of results to retrieve, defaults to 100. When you make an API request, you will usually not receive all of the results of that request in a single response. This is because some responses could contain thousands of objects so most responses are paginated by default.

verbose

Defaults to FALSE if TRUE will print information on the queries in the console.

limit

Number of results requested at each API call, defaults to 100.

Author(s)

John Coene jcoenep@gmail.com

Examples

1
2
3
4
## Not run: 
vids <- listVideos(id = "act_123456789012345", token = "XXXXXX")

## End(Not run)

JohnCoene/fbadsinsightsr documentation built on May 28, 2019, 12:55 p.m.