Messenger chatbot for books search and recommendation.
Go talk to Orvil on Messenger.
-
Create a Facebook Page. See how.
-
Create a Facebook App. See how.
-
Host this project in a place you can access file processMessage.js by a endpoint. Orvil is mainly hosted in AWS Lambda.
-
Setup a webhook with the endpoint that you have created. See how.
-
Create a Lomadee account. Lomadee is the Orvil book information provider.
-
Setup all the needed environment variables with Facebook and Lomadee informations.
-
PAGE_ACCESS_TOKEN
-
APP_SECRET
-
VERIFY_TOKEN
-
LOMADEE_HOST
-
LOMADEE_SOURCE_ID
-
LOMADEE_APP_TOKEN
-
PS: If you want the send promos feature, you have to host the sendPromos.js file too, and make sure the file will run in the right time. Orvil uses a cron job to run this script every friday.
Go talk to Orvil on Messenger or send a message to your own page.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D