Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image not loaded for page with og tags when first time pasting to facebook

I have page https://pixit.im/AAC It contains video and has correct og tags. OG Debugger says everything is fine with it and shows image from og:image there.

However, when I first time pasting this link to facebook, I do not see image on preview, only text form og:title and og:description.

If I open url in FB OG debugger, or paste it later, or post record with this link, the image appears.

But, the fact is, that every time I first time paste some link from my resource(https://pixit.im/A**) to FB share dialog, it does not load image for preview. The question is - why?

like image 853
andll Avatar asked Oct 31 '22 15:10

andll


1 Answers

Turns out the answer is to also set og:image:width and og:image:height.

See also: Facebook Open Graph No Image First Time

(In my own testing, I found that setting og:image:width and og:image:height is sufficient. Setting og:image:type is unnecessary.)

like image 59
asadovsky Avatar answered Nov 08 '22 12:11

asadovsky