tcn_tweets | R Documentation |
Collects tweets for a list of tweet ids.
tcn_tweets(
tweet_ids = NULL,
token = NULL,
referenced_tweets = FALSE,
retry_on_limit = TRUE,
clean = TRUE,
verbose = TRUE
)
tweet_ids |
List. Tweet ids or tweet URLs. |
token |
List. Twitter API tokens. |
referenced_tweets |
Logical. Also retrieve tweets referenced by requested tweets. Default is FALSE. |
retry_on_limit |
Logical. When the API v2 rate-limit has been reached wait for reset time. Default is TRUE. |
clean |
Logical. Clean results. |
verbose |
Logical. Output additional information. Default is |
A named list. Dataframes of tweets, users, errors and request metadata.
## Not run:
# get twitter conversation threads by tweet ids or urls
tweet_ids <- c("xxxxxxxx",
"https://twitter.com/xxxxxxxx/status/xxxxxxxx")
tweets <- tcn_tweets(tweet_ids, token)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.