/nodejs_twitter_bot

This twitter bot can tweet every 3 hours.

Primary LanguageJavaScriptMIT LicenseMIT

About

This twitter bot can tweet every 3 hours. currently, tweet subjects that this bot can tweet are quotes and programming jokes.

Used Node JS and Twitter API for developing this bot.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file.

You can find environments in here.

CONSUMER_KEY="YOUR_CONSUMER_KEY"

CONSUMER_SECRET="YOUR_CONSUMER_SECRET"

ACCESS_TOKEN_KEY="YOUR_ACCESS_TOKEN_KEY"

ACCESS_TOKEN_SECRET="YOUR_ACCESS_TOKEN_SECRET"

Run Locally

Clone the project

  git clone https://link-to-project

Go to the project directory

  cd my-project

Install dependencies

  npm install

Run index.js file

  node index.js