View source: R/direct_messages.R
direct_messages | R Documentation |
Returns all Direct Message events (both sent and received) within the last 30 days. Sorted in reverse-chronological order. Includes detailed information about the sender and recipient.
direct_messages(
n = 50,
cursor = NULL,
next_cursor = NULL,
parse = TRUE,
token = NULL,
retryonratelimit = NULL,
verbose = TRUE
)
n |
Desired number of results to return. Results are downloaded
in pages when The Twitter API rate limits the number of requests you can perform
in each 15 minute period. The easiest way to download more than that is
to use You are not guaranteed to get exactly |
cursor |
Which page of results to return. The default will return the first page; you can supply the result from a previous call to continue pagination from where it left off. |
next_cursor |
|
parse |
If |
token |
Use this to override authentication for
a single API call. In many cases you are better off changing the
default for all calls. See |
retryonratelimit |
If If you expect a query to take hours or days to perform, you should not
rely solely on |
verbose |
Show progress bars and other messages indicating current progress? |
A list with one element for each page of results.
rtweet-deprecated
## Not run:
## get my direct messages
direct_messages()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.