getCheckins {Rfacebook} | R Documentation |
Extract list of checkins of a Facebook friend
Description
getCheckins
retrieves information about a friend's checkins
Usage
getCheckins(user, n = 10, token, tags = FALSE, api = NULL)
Arguments
user |
A user ID or screen name. |
n |
Maximum number of checkins to return for each user. |
token |
Either a temporary access token created at
https://developers.facebook.com/tools/explorer or the OAuth token
created with |
tags |
If |
api |
API version. e.g. "v2.8". |
Details
This function requires the use of an OAuth token with the following permissions: user_status, user_checkins, friends_status, friends_checkins
Check-in search was deprecated with version 2.0 of the Facebook Graph API.
Author(s)
Pablo Barbera pablo.barbera@nyu.edu
See Also
Examples
## Not run:
token <- 'XXXXX'
my_checkins <- getCheckins(user="me", token=token)
## End(Not run)