Link: https://documenter.getpostman.com/view/7623074/TVzYga52
A simple messenger webhook using NodeJS with Express framework. Data is stored in MongoDB database. This messenger can do the following:
- Ask for name.
- Ask for birth date.
- Count how many days until next birthday.
- Getting messages (with customer and message id filter).
- Delete message.
The application is deployed on Heroku on this link. This application also deployed on Facebook for developers with AppId: 225746785753675
The installation guide is how to use this messenger webhook app for your Facebook Page or your application. There is a more comprehensive guide by Facebook at this link.
But for the steps that is taken to install this application is as follows.
This step is done so that your facebook page can start receiving messages that can be sent to this app to be processsed.
This step is done to create a webhook that will send events to the API to be processed.
This step is done to connect the application towards the facebook app. That way this application can now receive messages from facebook to be processed.
Lastly, you can also setup a messenger plugin to your own website that can sends the message towards this application.