【问题标题】:Facebook OG debug Curl Error : WRITE_ERRORFacebook OG 调试卷曲错误:WRITE_ERROR
【发布时间】:2015-07-14 01:49:34
【问题描述】:

我完全不知所措:Facebook 调试器不会抓取此网站:http://kalect.com.au/。获取新的抓取信息返回 2 个错误

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

当您在浏览器中查看代码时会显示 Open Graph 标签,而其他 OG 测试人员可以看到这些标签。它唯一的 Facebook 看不到它们/错误。

<meta property="og:image" content="http://kalect.com.au/images/website/facebook-like.jpg" />
  <meta property="og:type" content="website" />
  <meta property="og:url" content="http://kalect.com.au/" />
  <meta property="og:site_name" content="Kalect" />
  <meta property="og:description" content="KALECT is about bringing fun, quirky and unique home &amp; lifestyle products to the table. It is an inspiration of everything interiors that you should know about. A collection of quality Australian labels " />
  <meta property="og:title" content="KALECT - creating your kind of beautiful - Kalect - home wares" />

【问题讨论】:

  • 您的服务器交付内容的方式似乎存在问题; W3C 验证器也无法处理您的站点,validator.w3.org/check?uri=http://kalect.com.au - 它说,“尝试从 kalect.com.au 解码响应正文时发生致命错误。要么我们不支持指定的内容编码(“x-gzip”),要么解码时出错。错误是:Can't gunzip content: Header Error: Bad Magic”

标签: facebook facebook-opengraph


【解决方案1】:

@CBroe - 感谢您的帮助。该站点是使用 Joomla 构建的,gzip 被禁用并使用http://checkgzipcompression.com/ 确认。

我虽然每个组件都在寻找其他压缩选项,但发现一个隐藏在一个名为“Mijo Shop”的 Joomla 扩展中,禁用内置压缩的组件解决了这个问题。

一双新的眼睛总是有帮助 - 谢谢

【讨论】:

    猜你喜欢
    • 2013-11-03
    • 2019-01-24
    • 2011-04-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-06
    • 2015-04-18
    • 2018-11-27
    相关资源
    最近更新 更多