getEvents {Rfacebook}R Documentation

Extract list of events from a public Facebook page or group

Description

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

Usage

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

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

## End(Not run)

[Package Rfacebook version 0.6.15 Index]