GithubHelp home page GithubHelp logo

calvinmr / blog-messages-node-restaurant_delivery_facebook_bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vonage-community/blog-messages-node-restaurant_delivery_facebook_bot

0.0 0.0 0.0 12 KB

A simple demo app to demonstrate a Facebook Bot build with Vonage Messages API, LokiJS, and Wolt

License: MIT License

JavaScript 100.00%

blog-messages-node-restaurant_delivery_facebook_bot's Introduction

Restaurant Is Now Delivering: a Facebook Bot in Node.js

Contributor Covenant MIT licensed

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.

Requirements

  • You'll need a Vonage API account. You can sign up here
  • You'll need the latest version of the NodeJS

Installation

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.

Usage

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.

License

This library is released under the MIT License

blog-messages-node-restaurant_delivery_facebook_bot's People

Contributors

ruskibenya avatar pardel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.