getNewsfeed {Rfacebook}R Documentation

Download recent posts from the authenticated user's newsfeed

Description

getNewsfeed retrieves status updates from the authenticated user's News Feed

Usage

getNewsfeed(token, n = 200)

Arguments

token

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

n

Maximum number of posts to return.

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

See Also

fbOAuth, getPost

Examples

## Not run: 
## See examples for fbOAuth to know how token was created.
## Capture 100 most recent posts on my newsfeed
load("fb_oauth")
my_newsfeed <- getNewsfeed(token=fb_oauth, n=100)

## End(Not run)


[Package Rfacebook version 0.6.15 Index]