Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Share on Facebook - Thumbnail not showing for the first time

https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.frcc.us%2F1197%3Fv%3D3422%26f%3D5

You should see it has thumbnail now. But every time I post a new link from my website (configured like the above example), the thumbnail won't show up for the first time. I have to refresh, and then the thumbnail shows.

I should include valid og tags. When I test my links on https://developers.facebook.com/tools/debug

Sometimes it gives me error saying og:image should be bigger. Then I just have to debug it again and then the error is gone.

og:image for all my links is the same. I have provided largest image 1500x1500. There is no redirect when link to the image.

Why?

like image 931
user2503176 Avatar asked Jun 21 '13 01:06

user2503176


People also ask

Why is there no thumbnail when I share a link on Facebook?

If you have shared the page before the image (or the meta tag) was present, then it is possible, that facebook has the page in its "memory" without an image. In this case simply enter the URL of your page in the debug tool http://developers.facebook.com/tools/debug.

Why thumbnail is not updating on Facebook?

You may have also shared the post before updating your thumbnail or metadata. Sometimes, even after the video is finished processing and is public, it may still have an outdated title, description, or thumbnail. This issue will eventually fix itself once Facebook or Twitter updates its cache.


1 Answers

The reason is that FB behind the scenes is still scraping your page and caching the image. The next time, in fact, you have also the image. How to solve it? Manual pre caching: https://developers.facebook.com/docs/sharing/best-practices#precaching

or simply add

<meta property="og:image:width" content="450"/> <meta property="og:image:height" content="298"/> 
like image 56
Kzar Avatar answered Sep 22 '22 04:09

Kzar