getEvents: Extract list of events from a public Facebook page or group

Description Usage Arguments Author(s) See Also Examples

View source: R/getEvents.R

Description

getEvents retrieves event information from a public Facebook group or page.

Usage

1
getEvents(page, token, api = "v2.9")

Arguments

page

Facebook ID for the group or page.

token

Either a temporary access token created at https://developers.facebook.com/tools/explorer or the OAuth token created with fbOAuth.

api

API version. e.g. "v2.8". NULL is the default.

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

See Also

getPage, fbOAuth

Examples

1
2
3
4
5
6
## Not run: 
load("fb_oauth")
## Downloading events from Playa Vista Farmers' Market
 events <- getEvents(page="playavistaFM", token=fb_oauth)

## End(Not run)

Rfacebook documentation built on May 1, 2019, 8:40 p.m.