Skip to contents

This function calls pull_tweet_data(), but has a built-in delay of 15 minutes to allow the Twitter API to reset after looking up 90,000 statuses

Usage

lookup_many_tweets(x, alarm = FALSE)

Arguments

x

A list or vector of status ID numbers

alarm

An audible notification that a batch of 90,000 statuses has been completed

Value

A dataframe of statuses and full metadata from the Twitter API

Details

This function requires authentication; please see vignette("setup", package = "tidytags")

See also

Read more about rtweet authentication setup at vignette("auth", package = "rtweet")

Examples


# \donttest{
example_url <- "18clYlQeJOc6W5QRuSlJ6_v3snqKJImFhU42bRkM_OX8"
tags_content <- read_tags(example_url)
#>  Reading from "#aect19 tweet collector".
#>  Range ''Archive''.

if (rtweet::auth_has_default()) {
  tweets_data <- lookup_many_tweets(tags_content$id_str)
  one_tweet_data <- lookup_many_tweets("1176592704647716864")
  one_tweet_data <- lookup_many_tweets("1176592704647716864", alarm = TRUE)
  one_tweet_data
}
# }