Skip to content

Leafly Facebook Messenger bot 🤖 Leafly company hackathon

Notifications You must be signed in to change notification settings

danielrobertson/leafly-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leafly-bot

Leafly Messenger bot where users can search for products, browse deals, and check order status updates. Built during Leafly Fall 2020 company-wide hackathon

Here is the bot's Page

Demo


Development

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

Thanks to

Kelly Cara Dana

About

Leafly Facebook Messenger bot 🤖 Leafly company hackathon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages