对象调试器错误抓取页面...接近解决方案吗?
我在共享页面时遇到一个非常奇怪的问题,可能连接到 Facebook 使用的 DNS。
我通常分享我自己网站上的页面,没有任何问题。仅在一个新网站中,我无法正确共享任何页面。
问题出在哪里?
如果我尝试分享这个新网站 (www.tarocchibluemoon.com) 的页面,我希望分享图像、页面标题等。
但是,我没有看到从我的页面中选择的任何图像。
我使用了调试器 developers.facebook.com/tools/debug
并在网站中输入 http:// www.tarocchibluemoon.com 有一个漂亮的“必须修复关键错误”
深入查看 Graph API 我发现:
{
"url": "http://www.tarocchibluemoon.com/",
"type": "website",
"title": "www.tarocchibluemoon.com",
"image": [
{
"url": "http://www.tarocchibluemoon.com/images/domain_reserviert.gif"
}
],
"updated_time": "2011-11-14T20:43:22+0000",
"id": "10150336639081017"
}
这意味着调试器看到的网站就像一个月前提供程序时一样显示了当您购买新域名时显示的经典默认页面,其中写着“该域名已保留”(类似这样的页面 示例 )。
当我发布网站时,Facebook 可能没有收到 DNS 更新!
我也尝试再次更改我的网站的 IP 地址,但没有结果。
I have a very strange issue while sharing a page, probably connected to DNS used by Facebook.
I usually share pages from my own sites with no problem. In only one new site, I cannot correctly share any page.
where is the problem?
If I try to share a page from this new site (www.tarocchibluemoon.com), I expected to share an image, a page title etc.
However, I didn't see any images choosen from the ones in my page.
I used the debugger developers.facebook.com/tools/debug
and typed in the site http://www.tarocchibluemoon.com having a beautiful "Critical Errors must be fixed"
Looking deeper in Graph API I see:
{
"url": "http://www.tarocchibluemoon.com/",
"type": "website",
"title": "www.tarocchibluemoon.com",
"image": [
{
"url": "http://www.tarocchibluemoon.com/images/domain_reserviert.gif"
}
],
"updated_time": "2011-11-14T20:43:22+0000",
"id": "10150336639081017"
}
This means that debugger sees the site like it was a month ago when the provider showed the classic default page shown when you buy a new domain with written inside "The domain is reserved" (a page like this example).
Probably Facebook didn't received the update to the DNS done when I published the site!
I tried also to change again the IP address of my site but with no results.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为问题在于您的头部部分(第 3 行末尾)中的规范标签:
Facebook 尝试抓取您的规范网址 - 但在这种情况下,该网址不存在,因此您会收到“无法下载”错误。
如果您切换该标签,使其指向您当前的域(或将其完全删除),您应该允许 Facebook 抓取页面并更新其图形条目。
I think the problem is the canonical tag in your head section (end of line 3):
Facebook tries to scrape your canonical url - but in this case that url doesn't exist so you get a 'can't download' error.
If you switch that tag so it points to your current domain (or remove it altogether) you should allow Facebook to scrape the page and update it's graph entry.