response_feedback Webhook Event Reference

This event will be sent to your webhook when a user provides feedback on a message on Messenger. Users provide feedback by clicking the "thumbs up"/"thumbs down" buttons or by pressing the "Good response"/"Bad response" buttons. You can subscribe to this callback by selecting the response_feedback field when setting up your webhook.

By subscribing to the response_feedback field for a particular page, all messages sent by your app on behalf of that page will have the response feedback options in the message thread. If you do not want those options in the thread, you can unsubscribe from the webhook field.

User Experience

Once you subscribe to the response_feedback webhook event, users will see the feedback options in thread in the two following ways:

Thumbs up and thumbs down buttons


Good response and bad response buttons in long press menu

Once the user successfully submits the feedback, they will see the following submission confirmation:

Example

{
   "sender":{
      "id":"<PSID>"
   },
   "recipient":{
      "id":"<PAGE_ID>"
   },
   "timestamp":1458668856463,
   "response_feedback":{
         "feedback": "Good response | Bad response",
         "mid": "<Message-id>",
   }
}    

Properties

sender

الخاصيةالنوعالوصف

id

String (سلسلة)

المعرف الخاص بالصفحة لدى المستخدم والذي شغّل الحدث webhook.

user_ref

String (سلسلة)

المعلمة user_ref لدى المستخدم والتي شغّلت الحدث webhook. ويتوفر هذا فقط لحدث webhook من المكون الإضافي للدردشة.

recipient

الخاصيةالنوعالوصف

id

String (سلسلة)

معرف صفحتك.

response_feedback

Property Type Description

feedback

string

Feedback, provided by the user, on the business message.

Possible values: Good response, Bad response

mid

string

Reference to the