Retweetr is a simple database-free PHP twitter bot which offers multi-account retweeting/liking. You can retweet/like a single tweet across multiple accounts simultaneously within a few minutes of set-up.
Twitters API guidelines (at the time of writing this: 08/02/2018) suggest that automated retweeting is permitted as long as it's not used aggressively or spammy. Use at your own discretion.
- Download or clone this repository onto a local or hosted web server running PHP
- Create a twitter app from each account that you plan to retweet from at https://apps.twitter.com/
- Open up
config/accounts.php
and add in a new array element for each of your apps created in the previous step - Visit the
index.php
file through a URL - Enter a twitter username in the input field and click "Get Tweets"
- Choose a tweet and be patient, as random delays are put in place between each account to seem a little less automatic
- You may need to bump up the max_execution_time value in your web servers
php.ini
file - If the script times out, the engagements will still be sent providing the initial request went through
- Twitter accounts can receive temporary locks in the form of recaptchas - you will have to manually solve these or find an alternative automated solution
- If an account has already retweeted a chosen tweet, the script will unretweet and re-retweet which can be useful for making tweets appear at the top of the timeline
- J7mbo for the twitter/PHP api wrapper: https://github.com/J7mbo/twitter-api-php
- Bootstrap https://v4-alpha.getbootstrap.com/
- Me for the rest