Thanks so much for this! Got mine running smoothly. But, I’m wondering how I get this up on Heroku.
dan hawkins

Thank you Dan, I am glad you got it up and running!

You can check “Heroku deployment via GitHub” section near the end of this article:

Need to have a Procfile in the root of project, and have to manually switch on ‘worker’ service in Heroku app (from its dashboard) and switch off ‘web’.

For more Twitter Bot functionalities you can check:

If you’d like, I am also maintaining a listing of Twitter Bots build with Nodejs in a Github repo.