lookup_tweets {rtweet} | R Documentation |
Description
Usage
lookup_tweets(
statuses,
parse = TRUE,
token = NULL,
retryonratelimit = NULL,
verbose = TRUE
)
Arguments
|
User id or screen name of target user.
|
|
If TRUE , the default, returns a tidy data frame. Use FALSE
to return the "raw" list corresponding to the JSON returned from the
Twitter API.
|
|
Use this to override authentication for
a single API call. In many cases you are better off changing the
default for all calls. See auth_as() for details.
|
|
If TRUE , and a rate limit is exhausted, will wait
until it refreshes. Most Twitter rate limits refresh every 15 minutes.
If FALSE , and the rate limit is exceeded, the function will terminate
early with a warning; you'll still get back all results received up to
that point. The default value, NULL , consults the option
rtweet.retryonratelimit so that you can globally set it to TRUE ,
if desired.
If you expect a query to take hours or days to perform, you should not
rely solely on retryonratelimit because it does not handle other common
failure modes like temporarily losing your internet connection.
|
|
Show progress bars and other messages indicating current
progress?
|
Value
A tibble of tweets data.
References
https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-lookup
See Also
tweet_search_recent()
, rtweet-deprecated
Other tweets:
get_favorites()
,
get_mentions()
,
get_timeline()
,
lists_statuses()
,
search_tweets()
[Package
rtweet version 2.0.0
Index]