我正在使用Wordpress
并且WP Yoast SEO plugin
如果我在 Facebook 上发布我的链接,我想获得一张图片。这没有发生,我不知道为什么。我使用了 Facebook 的调试器工具,我得到了这个:
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 调试器的获取结果中看到它,所以这也一定不是问题。article:publisher 像这样用单引号括起来:'
我把它改成了"
,但它仍然给我同样的问题。
这是抓取的网址:
<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" />