我已經正確添加了所有我的og:meta標記,並且Facebook調試器正確地進行了擦除。我遇到的唯一問題是視頻的縮略圖在我們的網站上分享時會被裁剪,但如果從YouTube分享,則是完美的。將YouTube嵌入到Facebook og:meta
我們的META:
<meta property="fb:app_id" content="259859127379080">
<meta property="og:url" content="http://www.zanews.co.za/others/testing-one-two-three/2012/01/30/">
<meta property="og:title" content="Testing One Two Three | ZANews">
<meta property="og:description" content="Testing One Two Three">
<meta property="og:type" content="video">
<meta property="og:image" content="http://i4.ytimg.com/vi/CBJxtlHDcfU/hqdefault.jpg">
<meta property="og:video" content="http://www.youtube.com/v/CBJxtlHDcfU?version=3&autohide=1">
<meta property="og:video:type" content="application/x-shockwave-flash">
<meta property="og:video:width" content="398">
<meta property="og:video:height" content="224">
<meta property="og:site_name" content="ZA News | Let's get it on!">
,結果:
YouTube的META:
<meta property="fb:app_id" content="87741124305">
<meta property="og:url" content="http://www.youtube.com/watch?v=CBJxtlHDcfU">
<meta property="og:title" content="ZANEWS: Ask The Coach">
<meta property="og:description" content="So a lot of people ask me, they say Pieter, rugby is confusing, it's so hard to understand. I say, no, what is hard to understand is when I speak English.">
<meta property="og:type" content="video">
<meta property="og:image" content="http://i4.ytimg.com/vi/CBJxtlHDcfU/hqdefault.jpg">
<meta property="og:video" content="http://www.youtube.com/v/CBJxtlHDcfU?version=3&autohide=1">
<meta property="og:video:type" content="application/x-shockwave-flash">
<meta property="og:video:width" content="398">
<meta property="og:video:height" content="224">
<meta property="og:site_name" content="YouTube">
,結果: post from youtube http://www.zanews.co.za/wp-content/uploads/zanews2.JPG
所以:一些較小不同ences(內容相關)他們幾乎相同,但後期縮略圖圖像差異很大。
我也曾在棉短絨拿起當我調試的網站URL(http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.zanews.co.za%2Fothers%2Ftesting-one-two-three%2F2012%2F01%2F30%2F)的棉短絨最初顯示:
{
"url": "http:\/\/www.youtube.com\/v\/CBJxtlHDcfU?version=3&autohide=1",
"type": "application\/x-shockwave-flash",
"width": 398,
"height": 224
}
但是當我通過它通過圖形(http://graph.facebook.com/10150521224263339)我得到:
{
"url": "http://www.youtube.com/e/CBJxtlHDcfU",
"type": "application/x-shockwave-flash",
"width": 398,
"height": 224
}
一直讓我發瘋 - 所以任何幫助將不勝感激。