Twitter API limit throttling - Discovering Hot Topics using Machine Learning

Twitter API limit throttling

This solution uses Twitter Search API v1.1.This API endpoint is rate limited by Twitter at 450 requests in a 15 min window. To capture API throttling from Twitter, the solution logs the limit details of these API calls as they are received in the responses from the Lambda log files. The Lambda logs are stored in the CloudWatch Logs corresponding to the <solution-name>producer Lambda function. We recommend creating a CloudWatch Alarm using CloudWatch Metric Filters on the following log pattern so that you will be alerted when API calls to Twitter are throttled.

Throttling limit reached. Hence no more calls to Twitter will be made, until the limit is reset. Limit automatically resets in the next window.