Search code examples
amazon-s3amazon-cloudfrontfacebook-ui

"Attachment Unavailable" on messages sent with FB.ui


I'm trying to include a link and an image in messages I'm sending with the use of FB.ui({method: "send"});

docs: https://developers.facebook.com/docs/reference/dialogs/send/

Note that I've seen this accepted answer but it doesn't address my question.

Sometimes the recipient can see the image and link and other times they see this:


enter image description here


Any idea what may cause this? The image is hosted on AWS CloudFront and is accessible via HTTP and HTTPS.


Solution

  • I had a similar problem where "Attachment Unavailable" happened when the user that clicked the send button had set their Default Privacy to Custom and wasn't making things visible to Friends or better. The sender could view the attachment in their own messages, but the recipient got the "Attachment Unavailable" error.