Fetches tokens based on remaining rate limit. Use this function to cycle through multiple access tokens until rate limit remaining is greater than 0.
fetch_tokens(tokens, query, sleep = FALSE)
List of oauth tokens
character vector, Twitter API query of interest
logical indicating whether to force system sleep if
rate limit is exhausted. defaults to sleep = FALSE
.
token with non-exhausted rate limit