Sample Messenger chatbot with React-like chatblocks framework
- Create Facebook app with Messenger webhook
- Specify your tokens in
app.js
- Set up ngrok or localtunnel to receive events on localhost
Then,
npm install
- run your ngrok (
npm run ngrok
might be helpful) npm run blocks
(watching blocks)npm run start-server
(watchingapp.js
)