Skip to content

A personal twitter bot who RT and Like users tweets Using Node.js

License

Notifications You must be signed in to change notification settings

ankemzi/ScrapeTweet-JS

Repository files navigation

Scrape Tweet

nb bot

Deploy

Intro

A twitter bot made using nodejs, using twitter api

Run the code

  1. Create a twitter account and create a Twitter app
  2. Clone the git
  3. make .env file and copy .env.example and add the relevant keys from twitter app. Twitter userIDs can be obtain from 3rd party site
  4. run npm install
  5. If you want to add more users change var users = [ config.userid ] in streaming.js file and add user ids to monitor. example: var users = [ 'XXXXX' , 'YYYYYY']
  6. run npm start

Deploy

User can deploy this to heroku. Create Config Vars for each in .env file and deploy or simply press DEPLOY button. in .env files you cant add arrays.so need to add ids in the code

About

A personal twitter bot who RT and Like users tweets Using Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published