Facebook og image share for highlighting

I am sharing my video page on Facebook. I used a high resolution image in the meta tag.

My question

When I use the highlight function for my message, facebook does not display a large image similar to the one that it does when sharing a video on YouTube. I am using the following code:

<meta property="og:site_name" content="MysiteName"/> <meta property="og:url" content="Post URL"/> <meta property="og:title" content="你好,喬,這是工作"/> <meta property="og:type" content="video" /> <meta property="og:image" content="Image Url" /> <meta property="og:description" content="Enter Your Sub Headline Text Here"/> <meta property="og:video" content="Video Url" /> <meta property="og:video:type" content="application/x-shockwave-flash" /> <meta property="og:video:width" content="2048" /> <meta property="og:video:height" content="1024" /> <meta property="fb:app_id" content="AppID" /> 

A small preview to show what I want to achieve. http://screencast.com/t/rxCbLySMEn Please help resolve the error.

+4
source share
1 answer

What link do you pass to og: video?

YouTube does this with the og: video tag.

  • og: image for regular image
  • og: video when video in backlight mode

The URL should be in this format: <meta property="og:video" content="http://www.youtube.com/v/k86xpd26M2g">

0
source

Source: https://habr.com/ru/post/1488627/


All Articles