Tutorial: Facebook ChatBot

Facebook ChatBot
Launching The ChatBot

Let’s talk about Trevor, our ChatBot.

At its most basic level the ChatBot application is no different to the other API applications developed during this series.  As you will recall we instructed Facebook to access the ChatBot by posting to a /webhook endpoint which is no different in concept than our previous knowledge of how to work with methods and endpoints here.

To make the tutorial more interesting I have also included rudimentary handling of natural language so that the ChatBot appears more friendly and personable.  Before we get in to the code I’ll demonstrate Trevor.

Go ahead and launch the application to try it out for yourself.

Next Up: Inspecting The Code

Pages: 1 2 3 4 5 6

Written by YourAPIExpert