gpt4 book ai didi

多个 fb :admins 上的 Facebook Open Graph 警告

转载 作者:行者123 更新时间:2023-11-30 05:15:15 25 4
gpt4 key购买 nike

当我在 fb:admins 元值中放置两个管理员时,我收到了 Facebook Open Graph 调试器警告。对于一个管理员,它通过得很好,但是对于两个管理员,我会收到警告。一切正常,但我的强制症想要把它做好。有帮助吗?

这是我的代码:

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">

<meta property="fb:app_id" content="122146944552301"/>
<meta property="fb:admins" content="15901643,15932442"/>
<meta property="og:type" content="article" />
<meta property="og:url" content="http://uamedia.missouri.edu/mizmag/facebook-test.html" />
<meta property="og:site_name" content="UA Media" />
<meta property="og:title" content="Facebook Test" />

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title>Facebook Test</title>
</head>

我得到这个错误:

Parser Mismatched Metadata 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: 'fb:admins'

有什么想法吗?

最佳答案

你必须使用数组格式[http://ogp.me/#array]

在你的例子中:

代替

<meta property="fb:admins" content="15901643,15932442"/>

你必须使用

<meta property="fb:admins" content="15901643"/>
<meta property="fb:admins" content="15932442"/>

关于多个 fb :admins 上的 Facebook Open Graph 警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11868232/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com