Get followers/ids not working as it should


#1

I am trying to collect a user’s followers IDs. The call is returning 5000 IDs (as it should) and a next_cursor_str, which I’m using as the cursor input for the next call ($cb->followers_ids(‘screen_name=xxxx’,‘count=5000’,“cursor=$next_cursor”)). I’m using the code bird library.

The problem is that I’m only getting a handful of new IDs for every call with the next cursor (something like 3 or 4). I am testing for rate limits for [‘resources’][‘followers’][’/followers/ids’], and it keeps telling me that I have 15 calls left.

What am I doing wrong?