Description Usage Arguments Value Author(s) See Also Examples
These functions allow you to interact with, send, and delete direct messages (DMs) in Twitter.
1 2 3 4 |
text |
The text of a message to send |
user |
The user to send a message to, either |
dm |
The message to delete, an object of class |
n |
The maximum number of direct messages to return |
sinceID |
If not |
maxID |
If not |
... |
Further arguments to pass along the communication chain |
These functions will not work without OAuth
authentication
The dmGet
and dmSent
functions will return a list of
directMessage
objects. The former will retrieve DMs
sent to the user while the latter retrieves messages sent from the user.
The dmDestroy
function takes a directMessage
object (perhaps from either dmGet
or dmSent
) and will
delete it from the Twitter server.
The dmSend
function will send a message to another Twitter user.
Jeff Gentry
directMessage
, registerTwitterOAuth
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.