How to get a list of all retweeters in Twitter?

Viewed 56847

I have seen numerous companies doing like Twitter lotteries where users got to retweet their tweet and then one of retweeters will get the prize or whatever. I was wondering now how do they get the list of all retweeters or pick the winner?

I checked Twitter API and found only this thing: GET statuses/retweets/:id but it returns maximum of 100 retweeters. Is that the only way?

4 Answers

The Twitter API has an endpoint that returns up to 100 retweeter IDs for a given tweet.

Note that for historical reasons, that endpoint only returns up to 100 results and the documentation about the cursor is useless. Twitter refused to fix the situation.

2013 note

That said, the first thread on the Developers site that surfaced in a quick google has @episod, a Twitter employee saying:

You can't likely get to all of them. The data is spread out. Your best bet is to use the REST API to determine many of the users who performed the retweet, but the data will still be constrained.

It's easiest to track retweets as they happen rather than try to find them from the past. Use the Streaming API for that.

The site https://twren.ch/ enlists all the retweeters for a given tweet (note that it only enlists retweeters who are direct followers of the source tweeter.) Nevertheless its probably the only public source available.

Related