2012-01-09 72 views
0

我的Facebook評論隱藏在電子郵件入口頁面後面。一旦你輸入你的電子郵件,那麼該頁面會顯示評論框。你可以在這裏看到他們:http://anyluckyday.com - 一旦你進入促銷活動,評論將被顯示。我一直對我的所有網頁出現錯誤是:Facebook的評論URL無法訪問 - URL跟隨失敗

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) 

這裏是我使用什麼元屬性重定向到正確的網址,並拉動信息:

<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']?>"/> 

知道爲什麼我收到這些錯誤?

回答

0

我去了linter(https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fanyluckyday.com%2Fpromo%2F21%2Flookmatic-eyeglasses),那裏有一些必須解決的錯誤。從您的網站正在使用的重定向開始,導致循環引用。我認爲臉書希望得到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)