The code is adapted for SHIHbot.
-
code.conf is the conf file for the URL of the NPCEditor. Substitute the URL with your own one.
-
For stability, download a new ngrok binary file from its home page according to your OS.
This tutorial will guide you through the whole process of creating a simple bot, playing with it on your local machine, and finally deploying it to the cloud (Heroku), using the Facebook Messenger API and Python (Flask).
For a full-feature implementation of the Facebook Messenger Bot, check out my Optimist Prime project - voice recognition, natural language processing, restaurant search, trending news search, cloud-powered note-taking.
- Python Flask
- Facebook Messenger API