如何声明 Facebook 即阅文的网址



当我尝试声明我的URL时,出现此错误:

The fb:pages tag on the url doesn't contain this page's id. The url has fb:pages tag but they don't have this page's id. Please work with your developers / webmaster to add this tag to your website.

我是否应该在网页 HTML 的头部放置这个元标记:<meta property="fb:pages" content="130810137587****" />,然后才能平静我的 URL?或者在我的即阅文的 HTML 标题中?

您将该元标记放在您尝试声明的网址/子域/路径的 html 中。不在即时文章中。

如果您使用的是 Wordpress,请在标题中添加元标记.php <HEAD>...</HEAD>部分中

的文件

您必须将标签放在索引中网站标签之间

<Head>
     <Meta property = "fb: pages" content = "130810137587 ****" />
</ Head>

您可能还需要更新打开图形"类型"属性:

<meta property="og:type" content="website" />

正如这里所说:https://www.facebook.com/business/help/community/question/?id=10156960334050657

Facebook 正在尝试从您的规范网址中读取元数据,您可以在他们的调试工具上检查它使用的是哪个网址:

https://developers.facebook.com/tools/debug/

粘贴您的网址并检查规范网址信息及其标头,这是您需要使用元标记更新的域。

就我而言,它指向我的测试环境中的不同 URL。

希望这有帮助

我有同样的错误。
您需要在 Head 标记中添加元标记
您的网站。

最新更新