Rate limit exceeded


I keep getting a ‘Rate limit exceeded’ error with code ‘88’ when calling user/statuses/home_timeline.

I’m using an access token from the user and I’ve set my call to be delayed every 120 seconds.

According to the documentation the rate limit is 15 calls during the rate limit window which I think is 15 minutes long, I’m just wondering why this is happening and what I can do to make sure that I don’t get blocked.

Thanks for any help you can give on issue.


Nevermind. It was a call I making simultaneously to get the user’s followers that was causing the problem. But that also raises the question of what to do if a follower has more than 300 followers and you want to get all of their followers at once since the rate limit is 15 calls per user per 15 minutes and the followers are returned in groups of 20 at a time.