| updateStatus {twitteR} | R Documentation |
Functions to manipulate Twitter status
Description
These functions can be used to set or delete a user's Twitter status
Usage
tweet(text, ...)
updateStatus(text, lat=NULL, long=NULL, placeID=NULL,
displayCoords=NULL, inReplyTo=NULL, mediaPath=NULL,
bypassCharLimit=FALSE, ...)
deleteStatus(status, ...)
Arguments
text |
The text to use for a new status |
status |
An object of class |
lat |
If not |
long |
If not |
placeID |
If not |
displayCoords |
Whether or not to put a pin on the exact coordinates a tweet has been sent from,
|
inReplyTo |
If not |
mediaPath |
If not |
bypassCharLimit |
If |
... |
Optional arguments to be passed to |
Details
These messages will only operate properly if the user is authenticated
via OAuth
The tweet and updateStatus functions are the same.
To delete a status message, pass in an object of class
status, such as from the return value of updateStatus.
Value
The updateStatus function will return an object of class
status.
The deleteStatus returns TRUE on success and an error if
failure occurs.
Author(s)
Jeff Gentry
Examples
## Not run:
ns <- updateStatus('this is my new status message')
## ooops, we want to remove it!
deleteStatus(ns)
## End(Not run)