Extracts and stores tweets locally
qf_get_tweets_by_user( users, wait = 1, n = 100, cache_id = TRUE, twitter_token = NULL )
users | A character vector of handles or id of Twitter users. Twitter users should ideally be provided in the form of user ids. If screen names are given, they will be converted to Twitter ids. In the rare case when a user screen name is made exclusively by numbers, provide users as lists using rtweet::as_screenname. See `?rtweet::as_screenname` for details. |
---|---|
wait | An integer, defaults to 1. Seconds to wait between requests to Twitter. |
n | An integer, number of new tweets to request per users, defaults to 100. |
twitter_token | A twitter token generated by rtweet. |