1.8.0-alpha.3 • Published 5 years ago

feedbot-server v1.8.0-alpha.3

Weekly downloads
43
License
-
Repository
github
Last release
5 years ago

Feedbot Server

This app exposes API for retrieval and updating of stored JSON bot definitions from table storage.

Example calls

Bot object structure is defined in feedbot/packages/schema package.

Authentication

Following environment variables can be used to enable Facebook authentication:

  • FACEBOOK_APP_ID
  • FACEBOOK_APP_SECRET
  • REALTIME_SERVER_URL - where realtime server is running
  • REALTIME_NAMESPACE - namespace of designer (prefix of botId)

Header Authorization: Bearer * is then checked against Facebook Graph API before every API call hander execution.

Design

REST calls are described in server/handlers/... and their services are respectively placed in server/data/... directory.