Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook won't render link image on wall post

Need a way for Facebook to render an image in wall posts. Sometimes, all you need to do is copy and paste the link to the image, like here:Working rendered image in Facebook wall post

But, with the images I need to link to, which are on S3, I get this:Image link not being rendered in Facebook wall post

You can click here to verify that the second link is in fact a valid image address (you should see a creepy hand drawn smiley face).

I did this test just using the normal Facebook GUI on the site, but I will be using the answer to this question in my app, which integrates with Facebook via the Open Graph API. (In case anyone thought this question was not programming related).

Anyone know what I need to do to get the second image to render in the post?

like image 929
Clay Wardell Avatar asked Nov 04 '22 06:11

Clay Wardell


1 Answers

The key is image size. Don't ask me what the magic number is, but larger images work and smaller ones don't. It could be that it has to be larger than the preview size that facebook uses.

In my test, I had static website configuration turned off.

like image 81
Borys Avatar answered Nov 09 '22 08:11

Borys