Sign inSign up

xvir/api-ai-facebook

By xvir

•Updated about 10 years ago

API.AI Facebook integration

Image
0

2.7K

xvir/api-ai-facebook repository overview

⁠api-ai-facebook

Facebook bot sources for Api.ai integration

⁠Deploy with Heroku

Follow these instructions⁠. Then,
Deploy to Heroku

⁠Deploy with Docker

docker run -it --name fb_bot \
           -p <your_desired_port>:5000 \
           -e APIAI_ACCESS_TOKEN="API.AI client access token" \
           -e FB_PAGE_ACCESS_TOKEN="Facebook Page Access Token" \
           -e FB_VERIFY_TOKEN="Facebook Verify Token" \
           -e APIAI_LANG="en" \
           xvir/api-ai-facebook

⁠Note about languages:

When you deploy the app manually to Heroku, the APIAI_LANG not filled with a value. You need to provide language parameter according to your agent settings in the form of two-letters code.

  • "en"
  • "ru"
  • "de"
  • "pt"
  • "pt-BR"
  • "es"
  • "fr"
  • "it"
  • "ja"
  • "ko"
  • "zh-CN"
  • "zh-HK"
  • "zh-TW"

Tag summary

Content type

Image

Digest

Size

252.5 MB

Last updated

about 10 years ago

docker pull xvir/api-ai-facebook