Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter API get more than first 100 retweets

Tags:

twitter

given a tweet, I need to obtain the first 100 users who have retweeted my tweet. I.e: If my tweet has 600 re-tweets, I need the user id's of the first 100 people to have done so. NOT the latest 100. There is an API call to find the latest 100 people but is there a way to reverse this and get the first 100? OR is there a way to bypass the 100 user limit and select all the users?

like image 531
Amitash Avatar asked Nov 14 '22 01:11

Amitash


1 Answers

According to Twitter's dev docs, statuses/retweets does what you want – "Returns up to 100 of the first retweets of a given tweet."

like image 165
Johntron Avatar answered Feb 26 '23 21:02

Johntron



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!