Rasa: Facebook connection dont work

Created on 31 Aug 2018  路  7Comments  路  Source: RasaHQ/rasa

Rasa Core version: 0.11.1

Python version: Python 3.6.6 :: Anaconda, Inc.

Operating system (windows, osx, ...): Ubuntu 16.04

Issue: I want to connect with the fb messenger but when I try to set the webhook (in my facebook app) I get an 404 Error. I work with ngrok for locally testing.
Previously, I followed the Quickstart in the Rasa Core section.

I typed this in the webhook setup:
grafik

Ngrok shows this:
grafik

And rasa core displays this:
grafik

What am I doing wrong?
Can you help me please?

Most helpful comment

Got it to work with: python -m rasa_core.run -d models/dialogue -u models/current/nlu --port 5002 --connector facebook --credentials credentials.yml

All 7 comments

you need to subscribe to messaging_postbacks as well

Unfortunately it still doesnt work. I get the same Error message.

Same issue trying to bind on both 5002 or 5005 and it doesn't work.

Got it to work with: python -m rasa_core.run -d models/dialogue -u models/current/nlu --port 5002 --connector facebook --credentials credentials.yml

I had the same issue. You must specify the connector (or channel) in the run command; this is not shown in the docs.

Now it works, thanks a lot!

We've fixed in master now, you no longer need to pass the --connector flag

Was this page helpful?
0 / 5 - 0 ratings