Facebook Messenger Chat Plugin webhook

Hilo 41 Reputation points
2021-04-16T12:46:54.98+00:00

Hello,
hope this is the right place to post my question. In my company we use bot framework for developing our bots. We are dealing with messaging_postbacks webhook that is sent by Facebook Messenger when a new user initiate a new conversation with the bot through the Get Started button. Webhook is delivered correctly to our bot when user clicks Get Started button from the mobile app. However, when a new user writes to the bot through Messenger Chat Plugin, we do not receive messaging_postbacks webhook that should be delivered when clicking "Continue as NAME" button as per Facebook documentation (https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_postbacks).
We were wondering why webhook from Chat Plugin is not delivered to our bot and found in the documentation something that caught our attention:

Graph API v7.0+ messaging_postback webhook event from the chat plugin will not be returning sender.id field. It will return a new sender.user_ref field. This changes will take effect on all older Graph API versions starting Nov 2, 2020.

This made us thought that perhaps bot framework hasn't been aligned with that change yet and this is why we aren't receiving the webhook. Is this possible? If yes do you know if there is any planning to update the behaviour?

Thank you.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
746 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,247 questions
{count} votes

Accepted answer
  1. GiftA-MSFT 11,151 Reputation points
    2021-04-26T14:13:01.993+00:00

    Hi, thanks for sharing more details. This issue requires proper diagnosis, it may be best to contact Azure support for further investigation. Sorry for any inconvenience.


0 additional answers

Sort by: Most helpful