getCheckins: Extract list of checkins of a Facebook friend

Description Usage Arguments Details Author(s) See Also Examples

View source: R/getCheckins.R

Description

getCheckins retrieves information about a friend's checkins

Usage

1
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.

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

See Also

getFriends

Examples

1
2
3
4
5
## Not run: 
 token <- 'XXXXX'
 my_checkins <- getCheckins(user="me", token=token)

## End(Not run)

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