Facebook 不再从我的 WP 博客获取*任何*元数据

发布于 2025-01-07 10:09:44 字数 1232 浏览 3 评论 0原文

我经营博客已经很多年了,在 Facebook 上分享博客文章(带有正确的缩略图、标题和描述)总是效果很好。然而上周,当分享新的博客文章时,所有元数据显然都丢失了——Facebook 甚至没有获取页面的标题。调试新博客文章时,我得到:

Response Code : 503

Missing Required Property:  The og:url property is required, but not present.
Missing Required Property:  The og:type property is required, but not present.
Missing Required Property:  The og:title property is required, but not present.

-for http:// www.discodemons.net/2012/02/16/moullinex-peaches-maniac/

当调试旧帖子时(我所说的旧帖子是指 Facebook 突然决定停止发布的那一天之前发布的帖子)从我的网站读取元数据),一切都在那里,我可以共享带有图片、缩略图和描述的链接。

有两件事困扰着我:

1)我在我的标题和我的functions.php中明确指定了所有重要的元标记 - 查看博客文章的源代码时(在这里亲自查看:http://www.discodemons.net/2012/02/16/moullinex-peaches-maniac/ ) ,一切都在那里。我已经好几个星期(或者可能是几个月)没有更改我的博客上的任何内容,然而,日复一日,我无法再在 Facebook 上正确地分享我的链接 - 即使所有必需的元数据都在那里。

2) Facebook 能够从最简单的网站中提取标题、图像等,这些网站不包含任何元数据。我已经尝试从标头和functions.php 中删除所有元数据,但Facebook 无法从我的网站提取任何信息?!

我尝试禁用所有评论,测试了一些 WP 插件,将正确的元数据放入源代码中,再次禁用它们,甚至删除了所有 FB 相关插件,例如喜欢/共享按钮等。对此非常感谢的任何帮助,我我不知道如何解决这个问题!

I've been running a blog for years now, and sharing blog posts (with the correct thumbnail, title and description) on Facebook always worked fine. Last week however, when sharing new blog posts, all the meta data was obviously missing - Facebook didn't even pick up the title of the page. When debugging the new blog posts, I get:

Response Code : 503

Missing Required Property:  The og:url property is required, but not present.
Missing Required Property:  The og:type property is required, but not present.
Missing Required Property:  The og:title property is required, but not present.

-for http://www.discodemons.net/2012/02/16/moullinex-peaches-maniac/

When debugging old posts (and by old I mean posts published before that day when Facebook suddenly decided to stop reading meta data from my site), everything's there, I can share the link with picture, thumbnail and description.

There are two things troubling me:

1) I have all important meta tags explicitly specified in my header and my functions.php - when viewing the source code for the blog posts (see for yourself here: http://www.discodemons.net/2012/02/16/moullinex-peaches-maniac/
) , everything's there. I didn't change anything on my blog for weeks (or maybe months), and yet, from one day to another, I can't share my links on Facebook correctly anymore - even though all the required meta data is there.

2) Facebook is able to pull title, image etc. from even the most simple sites, that don't have any meta data included. I've tried and removed all the meta data from the header and functions.php, and yet facebook couldn't pull any information from my site?!

I've tried disabling all comments, tested some WP plugins that put the correct meta data in your source code, disabled them again, even removed all FB-related plugins such as like/sharing button etc. Any help on this much appreciated, I haven't got a clue how I could possibly fix this!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

断念 2025-01-14 10:09:44

看起来您的 WP 服务器正在为来自 Facebook 的所有抓取返回 503 服务器错误。这可能是您最近启用的一项安全功能,或者是一个尝试向 Facebook 提供不同内容以进行抓取的插件。

It seems as though your WP server is returning a 503 server error for all scrapes from Facebook. It may be that this is a security feature you enabled recently, or a plugin that attempts to serve different content to Facebook for the purposes of scraping.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文