Last data update: 2014.03.03

R: Update Facebook status from R
updateStatusR Documentation

Update Facebook status from R

Description

updateStatus sends a status update that will be displayed on the Facebook profile of the authenticated user.

Usage

updateStatus(text, token, link = NULL)

Arguments

text

string, text of the status update

token

Either a temporary access token created at https://developers.facebook.com/tools/explorer or the OAuth token created with fbOAuth. It needs to have extended permissions in order to successfully post to the Facebook profile.

link

string, URL of link to be added to status update

Author(s)

Pablo Barbera pablo.barbera@nyu.edu, Zakharov Kyrylo (https://github.com/Amice13)

See Also

getUsers, getPost

Examples

## Not run: 
## See examples for fbOAuth to know how token was created.
 load("fb_oauth")
 updateStatus("this is just a test", token=fb_oauth)

## End(Not run)

Results