facebook.video.formats
pulls information about the formats of a set of photos
in a link{FacebookPhotosCollection-class}
and push into a named list.
facebook.video.formats(id, token = NULL, parameters = list(),
fields = c("embed_html", "picture", "filter", "height", "width"),
.progress = create_progress_bar())
An existing FacebookPhotosCollection
.
Either a temporary access token created at
https://developers.facebook.com/tools/explorer or the OAuth token
created with fbOAuth
. If it's NULL
, the token from id
is used.
A list of parameters to be added to the Facebook Graph API query. For more information on the accepted parameters, see: https://developers.facebook.com/docs/graph-api/using-graph-api.
A character vector with the fields to get for each id
.
progress_bar object as defined in the plyr package.
By default the none
progress bar is used, which prints nothing to the console. See create_progress_bar for details.
A named list with all the formats of the given photos. The name of is set to the id
of the photo.
FacebookVideosCollection-class
will build a collection with
the formats available for the videos in the source collection.