Leafly Messenger bot where users can search for products, browse deals, and check order status updates. Built during Leafly Fall 2020 company-wide hackathon
Fill .env values
npm install
npm test
npm start
The Messenger platforms relies on a webhook. To use localhost as your webhook
- Install
ngrok
and initiate a local tunnel
./ngrok http 1337
Test your local tunnel is successful by testing the webhook
curl -X GET "https://0efd63c08e1c.ngrok.io/webhook?hub.verify_token=<YOUR_VERIFY_TOKEN>&hub.challenge=CHALLENGE_ACCEPTibe"ub.mode=subscribe"
And finally update the Messenger app in Facebook settings with the webhook path
Kelly Cara Dana