Coder Social home page Coder Social logo

chatbotbook's Introduction

PHP
===

Copy the entire content inside the php directory into a web directory managed by your Apache web server.

Edit the platform/app.php file to add platform-specific access tokens or credentials. For example,

  * facebook/echo.php for the Echo application's Facebook page access token.
  * skype/greet.php for the Greet application's Skype AppID.

Then, in your messaging platform's chatbot configuration screen, point the webhook to the related PHP URL (e.g., full URL to skype/greet.php in the Skype bot configuration).

Java
===

In the java/webhooks/src/main/java/com/ringfulhealth/chatbotbook directory, edit the platform/app.java file to add platform-specific access tokens or credentials. For example,

  * facebook/EchoServlet.java for the Echo application's Facebook page access token.
  * skype/GreetServlet.java for the Greet application's Skype AppID.

Build the Java application with Maven:
> mvn clean package

Deploy the resultant WAR file into a Tomcat application server.

Then, in your messaging platform's chatbot configuration screen, point the webhook to TOMCAT_SERVER/java/app (e.g., TOMCAT_SERVER/java/skype/greet in the Skype bot configuration).



chatbotbook's People

Contributors

juntao avatar

Stargazers

 avatar

Watchers

 avatar  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.