Friends/ids returns 401: Not Authorized after 100 calls?


#1

Using the Python twitter package to collect friend ids for social network analysis. My script is working fine and returning results from the standard 15 calls per rate limit on friends/ids.

It will do exactly 100 successful api calls before constantly returning 401 not authorized. This seems reproduceable regardless of the dataset I use for seed accounts.

Is there some unwritten limit of friends/ids? Is there a wait time I should build in after 99 calls to the friends/ids endpoint?

I have a group of 500 users that I’m trying to turn into a social network graph, and this is kind of screwing me up.