Get user's twitter friends - batches of 20 cause Rate Limit Exceeded


#1

Hello,

Currently, I’m using the Rails Twitter gem to retrieve all of a Twitter user’s friends via OAuth, etc.

Due to what seems to be automatic cursoring of these rate-limited methods, doing users/friends/list (or even users/friends/ids) gives me the 20 most recent follows and no more. It seemed to say somewhere I could retrieve 5000 friends at once.

Using the cursors to paginate, I can get through 15 pages (300 followers) for a user before being told my rate limit has been exceeded.

Is there a way to get all of the friends (or just larger batches) so I can consume them without hitting this rate limit?


#2

Thanks for your help