tweet_get {rtweet} | R Documentation |
Get tweet information
Description
Look up tweets up to 100 at the same time.
Usage
tweet_get(
id,
expansions = NULL,
fields = NULL,
...,
token = NULL,
parse = TRUE,
verbose = FALSE
)
Arguments
id |
At least a tweet id. |
expansions |
Set |
fields |
Set |
... |
Other arguments passed to the API. |
token |
This endpoint accepts a OAuth2.0 authentication (can be
created via |
parse |
If |
verbose |
A logical value to provide more information about the paginated queries (if any) and to store the data of each page. |
References
One tweet: https://developer.twitter.com/en/docs/twitter-api/tweets/lookup/api-reference/get-tweets-id
Multiple tweets: https://developer.twitter.com/en/docs/twitter-api/tweets/lookup/api-reference/get-tweets
See Also
Examples
if (FALSE){
tweet_get("567053242429734913", parse = FALSE)
tweet_get(c("567053242429734913", "567053242429734913"), parse = FALSE)
tweet_get(c("567053242429734913", "567053242429734913"), parse = TRUE)
}