tweet_search_recent | R Documentation |
Look up tweets from the last seven days that match a search query.
tweet_search_recent(
query,
n = 100,
expansions = NULL,
fields = NULL,
...,
token = NULL,
parse = TRUE,
verbose = FALSE
)
query |
One query for matching Tweets. |
n |
Number of tweets to query. |
expansions |
Set |
fields |
Set |
... |
Other arguments passed to the API. |
token |
These endpoints only accept a bearer token (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. |
OAuth2.0 requires tweet.read and users.read permissions.
if (FALSE) {
sr <- tweet_search_recent("#rtweet", sort_order = "relevancy", parse = FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.