updateStatus: Update Facebook status from R

Description Usage Arguments Author(s) See Also Examples

View source: R/updateStatus.R

Description

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

Usage

1
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

1
2
3
4
5
6
## 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)

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