Skip to content

lilaconlee/basic-twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic twitter bot skeleton

add api keys to .env

  • create an app and get api keys here
  • to see a previously created app, check here

run

  • npm i
  • npm start

make a cron job

  • crontab -e

  • add job in this format: minute, hour, day of month, month, day of week, command. to run every day at noon:

    0 12 * * * /path/to/node /path/to/basic-twitter-bot/app.js

don't forget

  • add .env to .gitignore

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published