chandulal / chatbot-workshop-weather-bot

Example to send weather data to chatbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngrok is require to make your local app to publically available

eg. to expose localhost:4567 to publically available, you need to run below command.

./ngrok http 4567

----------

To start node server, run below command

node weather-bot.js

----------
for config you need to install config:

npm install config

----------

To working with json file need jsonfile npm:

    npm install --save jsonfile

------------
Need to run below command for page token, if page token changes:

curl -ik -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=<page token>"

About

Example to send weather data to chatbot


Languages

Language:JavaScript 100.0%