check_rate_limit_header | R Documentation |
Check Rate Limit Status and Sleep If Need Be - this is an updated function for API v2.0
check_rate_limit_header(res, threshold = 2)
res |
The result of an httr call to the twitter API. |
threshold |
The remaining API calls below which to force a System Sleep. |
binary indicator of whether the API calls had to wait
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.