Learn R Programming

Rfacebook (version 0.6.15)

updateStatus: 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

See Also

getUsers, getPost

Examples

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

Run the code above in your browser using DataLab