Hack Forums
[PHP] Twitter Bot Auto Retweet ANY tweet of the people you follow - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] Twitter Bot Auto Retweet ANY tweet of the people you follow (/showthread.php?tid=5012340)



Twitter Bot Auto Retweet ANY tweet of the people you follow - SomethingSpecial - Oct 5, 2015

I've had a look at various retweeters out there and most of them use keywords and only retween those specific ones. Is it possible to make a twitter bot that automatically retweets all tweets from the people you follow?

So when someone you're following tweets you instantly retweet it?


* - bigwoo - Oct 6, 2015

Yes you can, I'm not very familiar with twitter API. But if I had to do that :

- Get the list of friends : api.twitter.com/1.1/friends
- Get the tweets of friends
- Parse them. If tweet not already retweet )> retweet it !

But you need to store tweet in your DB you've already retweeted.

Or May be there is a method to check if you've already reweeted something, but if you follow too many people I think you'll get ban from twitter api (too many connections).