2

In Microsoft's Bot Framework, there is Facebook Messenger Channel. And according to the setup page, i followed everything and then have finished configuring things on both Bot Framework and Facebook App ends.

Finished setting up Facebook Webhooks and it's Callback URL (with the required Verify Token). Everything seems to be correct (Please refer to screenshots below)

But when i start trying to chat to my page (from my FB Admin Account), there's no reply, nothing.

What seems to be the problem? And what should i be looking at, please?

Thanks all in advance.

enter image description here

enter image description here

enter image description here

enter image description here

3
  • I found this walkthrough very useful for setting up the FB channel
    – stuartd
    Feb 3, 2017 at 11:00
  • Is the bot deployed? Where? Feb 3, 2017 at 12:07
  • And you see any errors in the BotFramework portal page? (after refreshing it) Feb 3, 2017 at 12:40

2 Answers 2

1

I got it working now.

  • Inside the Botframework's "Enter your credentials" section, there's Facebook Page Id field to enter, but i didn't know there's a specific Page ID for a Facebook Page (which can be found under "About" tab). In fact, i thought it was the one we used in the URL (For example: https://www.facebook.com/xxxxxxxxxxx, and therefore: xxxxxxxxxxx) but it was wrong.
  • Then, deauthorized and resubmitted credentials from Botframework.

Thanks everyone for all the helps.

3
  • It looks like it's the same id, which is used in URL: try pasting it after facebook.com/xxxx . What do you mean by deauthorizing and resubmitting credentials from Botframework? I can't get my chatbot work on FB. It does work on Skype and via emulator.
    – ignacy130
    May 20, 2017 at 19:11
  • The ID you see in the URL is not really the Facebook Page Id. You can see the correct one only in the "About" tab. Jun 14, 2017 at 3:35
0

Also, can you verify that your bot works correctly from the test panel and webchat control in the Bot Framework portal.

You may also wish to deauthorize and resubmit credentials.

it's odd that you're not seeing any errors in the bot framework portal for the Facebook channel, that would almost imply to me that the messages aren't making it from the Facebook messenger chat service to the Bot Framework. It looks like you've set the callback URL correctly (from the unmasked part).

You can also hook up Azure App Insights and give us the instrumentation key (via the portal) and we will send any error events to your app insights instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.