users <- c("CLoderer", "kompetenzwasser", "MichaelRustler", "KWBerlin_R",
"nutrient_rec", "rgnirss", "UlfMiehe")
kwb_tweeters <- rtweet::lookup_users(users, token = twitter_token)
## preview users data
kwb_tweeters
kwb_timelines <- rtweet::get_timelines(users,
n = 3200,
token = twitter_token)
table(kwb_timelines$screen_name)
## get user IDs of accounts followed by kwb
kwb_follows <- rtweet::get_friends("kompetenzwasser", token = twitter_token)
## get user IDs of accounts followed by CNN
kwb_followers <- rtweet::get_followers("kompetenzwasser", token = twitter_token)
kwb_followers_info <- rtweet::lookup_users(kwb_followers$user_id,token = twitter_token)
# extract most recent tweets data from the famous tweeters
kwb_tweets <- rtweet::tweets_data(kwb_tweeters)
rtweet:::rate_limit(token = twitter_token)