Retweets the latest tweet using the "#100daysofcode" hashtag. It attempts to retweet once per five minutes. You can always change the # to fit your needs.
-
fork this repository
-
download the repository
-
go to terminal
npm i
- Create a twitter app on developer account https://apps.twitter.com/app/new
CONSUMER_KEY=XXXXXXXXXXXXxx CONSUMER_SECRET=XXXXXXXXXXXXXXXXXX ACCESS_TOKEN=XXXXXXXXXXXXXXXXXXX ACCESS_TOKEN_SECRET=XXXXXXXXXXXXXXx
node bot.js