| updateStatus {twitteR} | R Documentation |
These functions can be used to set or delete a user's Twitter status
tweet(text, session = getCurlHandle()) updateStatus(text, session = getCurlHandle()) deleteStatus(status, session = getCurlHandle())
text |
The text to use for a new status |
status |
An object of class status |
session |
An object from initSession |
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.
The updateStatus function will return an object of class
status.
The deleteStatus returns TRUE on success and an error if
failure occurs.
Jeff Gentry
## Not run:
sess <- initSession('myUser', 'myPass')
ns <- updateStatus('this is my new status message', sess)
## ooops, we want to remove it!
deleteStatus(ns)
## End(Not run)