2012-03-17 38 views
0

3周前完成HTML處女,但設法絆倒,讓我的網站啓動並運行到一個好的標準,但即時通訊有fb集成的問題,fb看起來像它應該,評論張貼,因爲他們應該但調試我得到以下....調試器信息和問題

Scrape Information 

Response Code 200 
Fetched URL http://shropshireradio.com/ 
Canonical URL http://ShropshireRadio.com/ 
Object Properties 

fb:app_id 149188391870835 
og:url http://ShropshireRadio.com/ 
og:type website 
og:title Streaming Shropshire DJs 
og:image  
og:description music of all genres under 1 roof 
og:updated_time 1331952439 
Raw Open Graph Document Information 

Meta Tag <meta property="fb:app_id" content="149188391870835" /> 
Meta Tag <meta property="og:type" content="website" /> 
Meta Tag <meta property="og:url" content="http://ShropshireRadio.com" /> 
Meta Tag <meta property="og:title" content="Streaming Shropshire DJs" /> 
Meta Tag <meta property="og:description" content="music of all genres under 1 roof" /> 
Meta Tag <meta property="og:image" content="http://i1067.photobucket.com/albums/u437/ShropshireRadio/ShropshireRadio.jpg" /> 
Redirect Path 

original http://shropshireradio.com/ 
og:url http://ShropshireRadio.com/ 
Final URL is in bold (this is the URL we tried to extract metadata from). 

我可以在上面看到的是它不看的權利,但不能匹配起來,以我的代碼,看看什麼錯!任何幫助讚賞!乾杯

我不得不改變2個網址獲取和cononical在我的腳本後這是正確的

回答

0

與屬性的元標記內容屬性「OG:鍵入」應該從this list目前你的東西將其作爲您網站的網址。

你的頭標記的前綴屬性應該是這個

og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website# 

還,您應在FB的數據href屬性更改:從http://www.facebook.com/ShropshireRadio.comTeam像標籤http://shropshireradio.com/

+0

感謝布蘭登現在已經糾正了錯誤報告現在編輯後顯示新的錯誤報告,再次幫助提升 – 2012-03-17 01:06:59

+0

它看起來像你的fb:lke標記的data-href需要修復。你目前有「http://www.facebook.com/ShropshireRadio.comTeam」你可能想要「http://shropshireradio.com/」 – Fisch 2012-03-17 01:20:25

+0

謝謝,我犯了一個錯誤,命名我的FB頁最終與團隊結束,它應該指向該網站還是fb頁面? – 2012-03-17 01:44:38