API Rate Limit. Requesting following screen name


#1

Hi!

I have an issue with the API rate limit. I make a call to the API to see which users is a certain user following. As you know, twitter responds to this call with a list of ids. So, next step is to find out the screen name for each one of those ids. If this user is following 100 other users everything works fine but if the user is following 1000 users I exceed the rate limit, as I need 1000 calls to get the usernames for those ids.

Any idea on how I can overcome this?

Thanks!


#2

To find out the screen names, are you using users/lookup? It lets you look up to 100 at a time and has a per-user limit of 180 requests per 15 minutes.

There are some operations that you just have to take multiple rate limit windows to accomplish.