But because Esterbot’s Maker wrote this on Medium, which meant…

  • I had to read about Facebook Messenger and Messenger Bots here
  • And set up a new Facebook Page for my bot (see link at the bottom of this page)
  • Wasted time trying to use GitHub to verify my Facebook Token because I didn’t understand - because I didn’t RTFM - that this verification is a Challenge / Response that occurs programmatically and not the oh-so-misleadingly-simple, “Oh hey, let’s verify you have your Token on a page somewhere on the web…” Nay, Nay loyal readers, this is not how it’s done.
  • Thanks to Jerry Wang’s Messenger Bots for Beginner’s Tutorial, I learned that I needed a Secure Server to host the Webhook (after beating my head against the wall and wandering aimlessly through the darkness of ignorance for an hour).
  • Moving right along, I set up a new GitHub repository
  • Downloaded Node.js for MacOSX making sure (the second third time) that I did not use sudo or Homebrew. Hats off to Brock Angelo for his utility that removed my Homebrew attempts at Node.js installation.
  • Created a sub-directory on my Mac for the Messenger Bot
  • Ran the requisite Command Line directives ($ npm init and $ npm install express body-parser request –save)
  • Got myself a Heroku account (huh? a what?) and
  • Learned how to update files on my Heroku Server here because, well, things changed very quickly as I was wandering, ill-equipped, around in Node.js, NPM and Heroku Land
  • And finally got my App Token verified.

Oh happy day.

But wait… still remaining TODO: https://github.com/jw84/messenger-bot-tutorial

DigiValBot runs will be here: https://www.facebook.com/digivalbot.