Fetching the retweeter ids from a tweet



I am trying to fetch the retweeter ids from this tweet with the tweet id 603728108164788225.
On twitter.com this tweet has currently about 2333 retweets.

On the API side however, I can only retrieve 54 ids using the following endpoint: https://dev.twitter.com/rest/reference/get/statuses/retweeters/ids

There is no next cursor either.

From looking at other (older) threads it looks like there is potentially account that are filtered by being protected or delete. But from a total of 2333 retweets having only 54 seems odd to me.
Is there an alternative (without implemented the stream API) to retrieve more retweeters?

As a reference here is the curl (without the token/auth headers):

curl --get ‘https://api.twitter.com/1.1/statuses/retweeters/ids.json’ --data ‘count=100&id=603728108164788225&stringify_ids=true’

And the response:


Thank you!


Seems strange that there’s no next_cursor response - I wonder does this mean that you can only get 100 retweeter ids? same as https://dev.twitter.com/rest/reference/get/statuses/retweets/%3Aid ?


It is not possible to get more than the 100 latest retweeter IDs after the fact using these APIs. In general you should be able to request to get latest 100 in one call (I’m not sure why it is only returning 54). When you provide a small count like 5 or 10 it should return a next_cursor but it is not, and that issue is already being tracked as a bug. I will follow up and try to confirm why it’s only returning 54 for your use case.

The recommended practice for collecting retweeter IDs is to ping the streaming API in realtime and capture them as they come in, or it’s possible to get the data via Gnip or partners that provide solutions on top of Gnip data.