You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside each Public function for each endpoint, you'll notice that there is this line: If (-Not $OAuthSettings) { $OAuthSettings = Get-TwitterOAuthSettings -Resource $Resource }
Get-TwitterOAuthSettings searches all the configured OAuthSettings for a resource that is available. And will rotate between all the APIKeys, allowing you to surpass the limits on once single Twitter API Application, by adding multiple APIKeys.
If none are found, it's going to generate this Rate limit exceeded, but in reality, we should simply 'Wait' for one to be available again.
Each Twitter API endpoint has a specific rate limit for the standard API.
You can find more information on Twitter's standard API rate limiting here.
For instance, here are the rate limits for lists endpoints.
After reaching the limit, the current
Invoke-TwitterAPI
calling function generates an error similar to the following:How should rate limits be handled?
The text was updated successfully, but these errors were encountered: