Script to automate direct message for new followers using schedular
- Fork the repo
- Update the config file with your custom message and twitter username.
- Also, create a MongoDB instance on mlab
- Click on Deploy on Heroku.
- After heroku is done with set up, go to setting of the app and set the following environment variables on heroku:
- TW_CTOKEN (twitter consumer token)
- TW_CSECRET (twitter consumer secret)
- TW_ATOKEN (twitter access token)
- TW_ASECRET (twitter access secret)
- DB_AUTOMATE (MongoDB db url => mongodb://:@dsrandom.mlab.com:51242/random
Congrats, The script is live