【问题标题】:Facebook comments URL unreachable - URL follow failedFacebook 评论 URL 无法访问 - URL 关注失败
【发布时间】:2012-02-06 06:04:09
【问题描述】:

我的 facebook cmets 隐藏在电子邮件输入页面后面。输入电子邮件后,页面会显示评论框。您可以在此处查看它们:http://anyluckyday.com -- 一旦您进入促销活动,就会显示 cmets。我在所有页面上不断出现的错误是:

Errors That Must Be Fixed:

URL Follow Failed: There was an error in fetching the object at URL 'http://anyluckyday.com/promo/21/lookmatic-eyeglasses', or one of the the URLs specified via a redirect or the 'og:url' property including one of http://anyluckday.com/promo/21/lookmatic eyeglasses.

Circular Redirect: Circular redirect path detected (see Redirect Path section for details).

Error Scraping Redirect: Bad Response Code (redirect)

这是我用于将元属性重定向到正确的 url 并提取信息的方法:

<meta property="og:type" content="webpage"/>
<meta property="og:url" content="http://anyluckday.com<?=$_SERVER['REQUEST_URI']?>"/>
<meta property="og:image" content="http://anyluckyday.com/uploads/<?=$img[3]['path']?>"/>
<meta property="og:site_name" content="AnyLuckyDay - <?=$data['title']?>"/>
<meta property="og:description" content="AnyLuckyDay - <?=$data['title']?>"/>

知道为什么会出现这些错误吗?

【问题讨论】:

    标签: facebook url comments


    【解决方案1】:

    我去了 linter (https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fanyluckyday.com%2Fpromo%2F21%2Flookmatic-eyeglasses),有一些必须修复的错误。从您的网站使用的重定向开始,这会导致循环引用。我认为 facebook 希望获得 200 响应,而不是您当前发送的重定向。

    URL Follow Failed:  There was an error in fetching the object at URL 'http://anyluckyday.com/promo/21/lookmatic-eyeglasses', or one of the the URLs specified via a redirect or the 'og:url' property including one of http://anyluckday.com/promo/21/lookmatic-eyeglasses.
    Circular Redirect:  Circular redirect path detected (see Redirect Path section for details).
    Error Scraping Redirect:    Bad Response Code (redirect)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-02-07
      • 1970-01-01
      • 2012-01-27
      • 1970-01-01
      • 2013-06-06
      • 1970-01-01
      • 2011-12-20
      • 1970-01-01
      相关资源
      最近更新 更多