/adsonatural-bot

A Twitter bot that retweets each tweet given a search keyword/ hashtag

Primary LanguageJavaScript

A Twitter bot that retweets each tweet given a search keyword


Before running this application, you need to create a developer Twitter account; create an application and generate your credentials (keys and tokens)


👷 How to run

# Clone Repository
$ git clone https://github.com/AdSoNaTuRaL/adsonatural-bot.git
# Go to source folder
$ cd adsonatural-bot/src

# Rename config.example.js to config.js
$ mv config.example.js config.js

#  Open the config.js and fill it in with your credentials and save
// Before running this project, put the word you want to search for
setInterval(function () {
  retweet('#PutYourKeywordHere OR #PutYourAnotherKeywordHere');
}, 60000)
# Return a folder
$ cd ..

# Install Dependencies
$ yarn

# Run Aplication
$ node src/bot.js

🐛 Issues

Feel free to create a new issue with a respective title and description on the adsonatural-bot repository. If you already found a solution to your problem, I would love to review your pull request!