A simple demo app to demonstrate a Facebook Bot build with Vonage Messages API, LokiJS, and Wolt
Visit the Vonage Developer Blog for a full step-by-step tutorial.
- You'll need a Vonage API account. You can sign up here
- You'll need the latest version of the NodeJS
Once you clone the repository, first change into the directory and execute the following commands in your terminal:
$ ngrok http 3000
In a second terminal winow, you'll need to execute the following command:
$ node index.js
Lastly, rename the .env.sample
file to .env
.
To use this app you must sign up for an account with the Vonage API Dashboard. Once you have an account, you can create a
new video project. That project will assign you an APP_ID. Your account also provides an API KEY and SECRET. Copy those values into your .env
file in the API_KEY
, API_SECRET
, and APP_ID
parameters, respectively.
You also must also add your ngrok URLs to the Vonage Dashboard in two places: the application configuration and in the Messages API Sandbox. You can learn more about Sandbox Setup here.
This library is released under the MIT License