Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 693 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 693 Bytes

FaceBook Weather chatbot

This chatbot uses Facebook Messenger API + Wit.ai + Open Weather Map.

Architecture

Story

Build

yarn install
npm run build

Wit.ai story

Story

Execute

NODE_ENV=production \
PORT=3000 \
FB_VERIFY_TOKEN=<VERIFY TOKEN> \
FB_PAGE_ACCESS_TOKEN=<PAGE ACCESS TOKEN> \
WIT_TOKEN=<WIT API TOKEN> \
OPEN_WEATHER_API_KEY=<OPEN WEATHER MAP API KEY> \
node dist/index.js

References