Facebook Open Graph og: video tag for YouTube video

I have a question that was originally asked here: Open the og: video Meta Tags report in 2010, but the answer no longer works.

I try to show a video on YouTube on Facebook (and play it on Facebook) when the link is shared. The following og: video tag on the page does not work (it never happened):

<meta property="og:video" content="https://www.youtube.com/watch?v=ZH4YSF-i5dY" /> 

The solution proposed here by https://stackoverflow.com/a/312924/ ... in 2013 worked very well until recently. This should have changed og: video to something like this (note how the string value v shown):

 <meta property="og:video" content="https://www.youtube.com/v/ZH4YSF-i5dY" /> 

This no longer works, and Facebook completely ignores it.

Another option I tried is to put the YouTube URL in og:url :

 <meta property="og:url" content="https://www.youtube.com/watch?v=ZH4YSF-i5dY" /> 

This approach tells Facebook to clear YouTube to get a thumbnail, but clicking on the message sends the user to the original page that was shared. The click behavior is correct (I want the user to return to the original shared page), but the user is not allowed to play the video.

Does anyone know a solution to this problem?

Update: Unfortunately, this is starting to more and more resemble this change Facebook made in August 2017 (and has been slowly moving across different regions over the course of several months), and this is in design. In other words, there is no way to do this work. :-( If someone has a workaround, it would be great to know the community. Relevant discussions: https://developers.facebook.com/bugs/1963535797258090/ https: // developers. facebook.com/bugs/364444227315183/ https://productforums.google.com/forum/#!topic/youtube/l69gPBlkXN0

+7
youtube facebook video facebook-graph-api
source share

No one has answered this question yet.

See similar questions:

23
Open og: video Meta Tags graphic file
one
Facebook Open Graph object ignores attributes
one
facebook og: video not working

or similar:

2263
How to get a thumbnail of a YouTube video using the YouTube API?
23
Open og: video Meta Tags graphic file
nine
Can I share a video from Open Graph on Facebook that plays and links to my site?
one
Sharing youtube video from a website via facebook
one
sharing a video page on facebook as a YouTube video page
one
Facebook OG: the video meta tag does not actually allow the video to play
one
Promotions with og: video calling instead of games on Facebook (ios)
one
How to add facebook video to og: video meta tag?
0
Video does not play on Facebook when I use the og: video tag
0
Share embedded Facebook videos on Facebook with an open schedule

All Articles