My dataset contains 8M user_id of a Twitter account followers. I want to retrieve the most recent tweets posted by the followers of the Twitter account.
Using the exact code in the link (the code posted by 'neilcharles' in https://github.com/ropensci/rtweet/issues/118) does not do anything in RStudio, thus doesn’t get any result.
When I replace all "users" in the codes by "mydataset$user_ids", I get the following error:
lookup_many_users <- function(mydataset$user_id, twitter_token, retry_limit = 5){
Error: unexpected '' in "lookup_many_users <- function(mydataset"
Regardless of the above error, RStudio starts running. However, it does not stop, even when I run the codes on a small subset of data (i.e. 100 user_ids). I have to click the 'stop' sign in console to terminate it, which gives ONLY gives me results for a small proportion of the data.
If I remove $user_ids from the first line (lookup_many_users…) and leave it in the rest of the codes again I get no result.