How to get Attachment.Payload for webhook of type Fallback?
1

Hey everyone, I'm seeking assistance with handling "Fallback" message types on Facebook Messenger, specifically URLs with thumbnails. 1. When a URL is copy-pasted as part of the text, we receive the text and the attachments.payload part, which is empty (though we can still use the text for the URL sent). 2. When a link is shared through a third-party app (using the "share" built-in function), we do not receive the text, and the message remains empty. Here is an example of the message structure we are seeing:

message:

    "message": {
       "attachments": [
        {
          "type": "fallback",
          "payload": {}
         }
   ],
}

Are there any specific subscription settings required for the webhook, or is there another approach we should be considering?

Thank you in advance

Viktor
تم طرح السؤال منذ حوالي ‏٣‏ أشهر