Retweet and fav bot for Twitter.
Used for RubiusBOT
How to create your own RT and Fav bot.
Step 1
Register in the Twitter developer portal and create an application.
View a tutorial clicking here.
Step 2
Install nodejs and git
Step 3
Open a terminal or CMD.
Windows: Press WIN + R and type cmd
Linux: Press Ctrl+Alt+T in Ubuntu
Step 4
Clone repository typing git clone https://github.com/sammwyy/RTBot.git
on the terminal.
Step 5
Open the folder created from the git clone, most likely it is called "RTBot-master"
You can type cd RTBot-master
for do that.
Step 6
Install dependencies typing npm install twitter
on the terminal.
Step 7
Configure the bot in the config.json file.
You must enter the consumer key and the access key in the file, the name of the bot and the keyword it will search for.
You can also configure the action of the bot (Retweet, Fav or both)
step 8
Start the bot typing npm start
in the terminal/console.