This is a sample Facebook Messenger Bot application written in Node.js for understanding the basic concepts. Thanks to x-team.com [1] for providing step by step instructions for writing this from scratch.
- Echo back any given message to the user
- Render a graphical output using the keyword "kitten"
- Adds a persistent menu
Currently the POST /webhook API method does not handle authentication requests, message delivery confirmations, message read notifications, etc [4]. This needs to be handled to avoid unnecessary error messages on the server side.