2011-12-13 100 views
1

當我使用圖形協議讓Facebook訪問我們的鏈接時,我有一個問題如下。 (我的網站是越南)開放圖形協議vs分享鏈接在Facebook上?

最前一頁:我做sucsongmoi.net/facebook.html測試(它完美地工作)

二:我將此(標籤)到其他頁面一樣網址:http://sucsongmoi.net/48/tam-kieu-ca-si-thu-minh-6882s.html 對接它不再起作用。我覺得很奇怪。我做了一個測試https://developers.facebook.com/tools/debug但似乎我無法弄清楚這個問題。

在此先感謝

代碼:

這是爲元第二個鏈接:

<title>Tắm kiểu ca sĩ Thu Minh - SSM</title> 
<meta property="og:title" content="Tắm kiểu ca sĩ Thu Minh - SSM" /> 
<meta property="og:type" content="article" /> 
<meta property="og:url" content="sucsongmoi.net/48/tam-kieu-ca-si-thu-minh-6882s.html"; /> 

<meta property="og:image" content="sucsongmoi.net/images/logo.png"; /> 
<meta property="og:site_name" content="SSM" /> 
<meta property="og:description" content="des" /> 
– nghiavt 56 mins ago upvote flag 
Fist link: 
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> 
<title>Angelina Jolie bị "đánh bại" dưới tay Jennifer Aniston - SSM </title> 
<meta name="robots" content="INDEX,FOLLOW" /> 
<meta property="og:title" content="Angelina Jolie bị &quot;đánh bại&quot; dưới tay ennifer Aniston - SSM" /> 
<meta property="og:type" content="article" /> 
<meta property="og:url" content="sucsongmoi.net/facebook.html"; /> 
<meta property="og:image" content="sucsongmoi.net/images/logo.png"; /> 
<meta property="og:site_name" content="SSM" /> 
<meta property="og:description" content="des" /> 
+0

¿這裏是你的代碼? – Chamilyan

+0

This is meta for second link:TắmkiểucasĩThu Minh - SSM nghiavt

+0

拳頭鏈接: Angelina Joliebị「đánhbại」dướitay Jennifer Aniston - SSM nghiavt

回答

0

一個小東西,爲什麼你有你的屬性之後分號?

<meta property="og:url" content="sucsongmoi.net/facebook.html"; /> 
<meta property="og:url" content="sucsongmoi.net/48/tam-kieu-ca-si-thu-minh-6882s.html"; /> 

當我調試你的鏈接,FB調試器說:

Inferred Property: The og:url property should be explicitly provided, even if a value can be inferred from other tags. 
Inferred Property: The og:title property should be explicitly provided, even if a value can be inferred from other tags. 

這意味着你沒有把meta標籤到您的網頁,檢查一遍

+1

不僅如此,而且還提供'http://'部分。 ''。並嘗試URL編碼的語言可能會扔掉它的一切。 – Chamilyan

+0

當查看源http://sucsongmoi.net/48/tam-kieu-ca-si-thu-minh-6882s.html顯而易見: nghiavt

+0

關於http://被刪除並分號;添加到我的評論是因爲stackoverflow熟。 – nghiavt