getCheckins function

Extract list of checkins of a Facebook friend

Extract list of checkins of a Facebook friend

getCheckins retrieves information about a friend's checkins

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 fbOAuth.
  • tags: If TRUE, output of function will be a list of two elements: a data frame with user's checkins and a list of data frames, where each element contains information about users tagged in each checkin.
  • api: API version. e.g. "v2.8". NULL is the default.

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.

Examples

## Not run: token <- 'XXXXX' my_checkins <- getCheckins(user="me", token=token) ## End(Not run)

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

See Also

getFriends