I’m new to R and using the TwitterAPI, here is my code below, how many seconds should I put into sys.sleep to make sure I don’t make too many requests and get blacklisted.
for(i in 155:nrow(huntsmanRandomUnpro)) { huntsmanRandomUnpro$accessible_tweets[i] <- try(length(userTimeline(user = huntsmanRandomUnpro[i, 2], n = 3200, includeRts = FALSE, retryOnRateLimit = 2000))) Sys.sleep(10) }