This project is an example server for Messenger Platform built in Node.js. With this app, you can send it messages and it will echo them back to you. You can also see examples of the different types of Structured Messages.
It contains the following functionality:
- Webhook (specifically for Messenger Platform events)
- Send API
- Web Plugins
- Messenger Platform v1.1 features
Follow the walk-through to learn about this project in more detail.
Set the values in config/default.json
before running the sample. Descriptions of each parameter can be found in app.js
. Alternatively, you can set the corresponding environment variables as defined in app.js
.
Replace values for APP_ID
and PAGE_ID
in public/index.html
.