botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
78 stars 90 forks source link

Can't connect to messenger #171

Closed kishlayk closed 6 years ago

kishlayk commented 6 years ago

macOS : <<10.13.1>>

using node version = <<7.9.0>>

Botpress version: <<1.1.12>>

Channels: <<messenger>>

On trying to connect botpress with messenger by inputing app id, app secret and access token through UI, I am getting forllowing errors : An error has been returned by Facebook API. Status: 400 (Bad Request) (#100) callback_url should represent a valid URL.

botpress-error

Even when manually input these values in botpress-messenger.config.yml same error is shown.

but the fallback url gets validated on messenger developer console.

screen shot 2018-01-13 at 11 59 44 am

I am using ngrok for making server in localhost...it works fine when I try to make chatbot using directly facebook's quickstart instructions.

What can I do?

slvnperron commented 6 years ago

Hey, please get the latest version of botpress-messenger (2.2.10) and also don't include the https:// at the beginning of the URL