Wednesday, January 9, 2013

Website image is not shown in Facebook share


Your website image is not shown when sharing on Facebook


Don't retry on facebook news feed since it is cached


Try to invalidate the cache, check my previous article


Add facebook meta-tags in your page "head", and try again

<meta property="og:url" content="YOUR_STUFF" />
<meta property="og:site_name" content="YOUR_STUFF" />
<meta property="og:type" content="website" />
<meta property="og:title" content="YOUR_STUFF" />
<meta property="og:description" content="YOUR_STUFF" />
<meta property="og:image" content="THE_IMAGE_TO_BE_SHOWN">

NOTE: facebook has some requirements in images, first make sure it is more than 200x200 in dimension


If all the above didn't work, you will need to do some debugging

Go to this link ( facebook debugger) and past your site link, and check the errors, warning, and all the great information of how facebook sees your webiste


Also check server logs

"HEAD /images/close-icon.png HTTP/1.1" 206 337 "-" "facebookexternalhit/1.1 (+"

Note: HTTP 206 response code is ok, it is part of multiple partial downloads of the image

No comments:

Post a Comment