Facebook Bot


What we are doing here is to serve up an nodejs app which handles messages that users or customer post to facebook. This gives us an opportunity to add various service like Luis or Wit.Ai to handle NLP. Surprising Wit.Ai is very similiar to Luis.

Getting started with sample code 

Downloading sample app with Facebook messenger test drive.


Follow the instruction here.

Running it 

Running using 2 different processes.

Process #1.

Kicks it off using "node app.js" - default port is 5000 but you can always  change it.

Process #2 (tunneling to Facebook)
Runs the following command -  lt --port 5060


Open your messenger and start sending messages to it. You can see your local (command prompt) node app displaying text messages from the user.



Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

spark - pyspark reading from excel files