我正在使用Wordpress
和WP Yoast SEO plugin
,如果我在Facebook上發佈我的鏈接,我想獲取圖片。這沒有發生,我不知道爲什麼。我已經使用Facebook的調試工具,我得到這個:爲什麼我的og:圖片無法正常工作?
The parser's result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: 'article:publisher'
這是爲什麼?它並沒有提到我的形象....另外,我可以在Facebook調試器上的抓取結果中看到它,所以這也不是問題。文章:發佈者用這樣的單引號括起來:'
,我將它改爲"
,但它仍然給我帶來了同樣的問題。
這是刮網址:
<meta property="og:locale" content="blabla">
<meta property="og:type" content="website">
<meta property="og:title" content="blablablbla">
<meta property="og:url" content="http://blablablblabla">
<meta property="og:site_name" content="blablablabala">
<meta property="article:publisher" content="https://www.facebook.com/pages/blbalblbalab">
<meta property="og:image" content="http://blblalblba.png">
而且這個ruwe開放圖形文檔信息
Metatag: <meta property="og:locale" content="blabla" />
Metatag: <meta property="og:type" content="blbalbae" />
Metatag: <meta property="og:title" content="blablbla" />
Metatag: <meta property="og:url" content="http://blablbal.com/" />
Metatag: <meta property="og:site_name" content="blblablba" />
Metatag: <meta property="article:publisher" content="https://www.facebook.com/pages/blblbalab" />
Metatag: <meta property="og:image" content="http://blbalblab.jpg" />