Facebook 按讚按鈕出錯 - 部落格

By Zora
at 2012-03-06T00:31
at 2012-03-06T00:31
Table of Contents
我的網誌加上了 Facebook 的 Open Graph 標籤後,部分的讚按鈕的確是可以按了,但是
出現了一些奇怪的問題:
1.他人對文章按讚後,卻被顯示為對粉絲專頁按讚
2.每當有人對文章按讚後,即會產生一個該篇文章網頁的紛絲專頁
3.按讚的網址並非是文章網址,而是該篇文章網頁粉絲專頁的網址
4.按讚按鈕無法正確抓取文章內文與圖片,但是 Blogger 內建的分享按鈕可以
5.並不是每個按讚按鈕都正常,只有在首頁中的按鈕可以按讚,其餘皆會出現錯誤
6.部分按鈕只有出現「讚」按鈕,而沒有傳送」按鈕
另外,我的各篇文章的讚按鈕式是會顯示於首頁的,這有關連嗎?
以下是我的程式碼資料:
<!-- Facebook Like Button Open Graph Tags-->
<meta expr:content='data:blog.pageName' property='og:title'/>
<meta content='website' property='og:type'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>
<meta content='https://lh3.googleusercontent.com/-Xocs0QEuUIU/T1MgxnmpQaI/AAAAA
AAABqc/W07doLsEW44/s512/AppleTech_Icon.png' property='og:image'/>
<meta content='蘋科技' property='og:site_name'/>
<meta content='100001302987589' property='fb:admins'/>
<!-- Facebook Like Button Open Graph Tags-->
<!-- HTML xmlns Tag -->
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection'
xmlns='http://www.w3.org/1999/xhtml'
xmlns:b='http://www.google.com/2005/gml/b'
xmlns:data='http://www.google.com/2005/gml/data'
xmlns:expr='http://www.google.com/2005/gml/expr'
xmlns:fb='http://ogp.me/ns/fb#'>
<!-- HTML xmlns Tag -->
<!-- Facebook Like Button JavaScript SDK -->
<div id='fb-root'/>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/zh_TW/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Facebook Like Button JavaScript SDK -->
<!-- Facebook Like Button -->
<fb:like expr:href='data:post.url' send='true' show_faces='false'
width='700'/>
<!-- Facebook Like Button -->
--
Google 蘋科技 - Apple Tech|███████████▕搜尋▏進階搜尋 | 使用偏好
搜尋: ⊙所有網頁 ○中文網頁○繁體中文網頁 ○台灣的網頁
facebook 粉絲專頁 : http://goo.gl/ABSt2
Google Blogger : http://www.appletech.tw/
Rss 訂閱 : http://feeds.feedburner.com/AppleTech/tw
--
出現了一些奇怪的問題:
1.他人對文章按讚後,卻被顯示為對粉絲專頁按讚
2.每當有人對文章按讚後,即會產生一個該篇文章網頁的紛絲專頁
3.按讚的網址並非是文章網址,而是該篇文章網頁粉絲專頁的網址
4.按讚按鈕無法正確抓取文章內文與圖片,但是 Blogger 內建的分享按鈕可以
5.並不是每個按讚按鈕都正常,只有在首頁中的按鈕可以按讚,其餘皆會出現錯誤
6.部分按鈕只有出現「讚」按鈕,而沒有傳送」按鈕
另外,我的各篇文章的讚按鈕式是會顯示於首頁的,這有關連嗎?
以下是我的程式碼資料:
<!-- Facebook Like Button Open Graph Tags-->
<meta expr:content='data:blog.pageName' property='og:title'/>
<meta content='website' property='og:type'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>
<meta content='https://lh3.googleusercontent.com/-Xocs0QEuUIU/T1MgxnmpQaI/AAAAA
AAABqc/W07doLsEW44/s512/AppleTech_Icon.png' property='og:image'/>
<meta content='蘋科技' property='og:site_name'/>
<meta content='100001302987589' property='fb:admins'/>
<!-- Facebook Like Button Open Graph Tags-->
<!-- HTML xmlns Tag -->
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection'
xmlns='http://www.w3.org/1999/xhtml'
xmlns:b='http://www.google.com/2005/gml/b'
xmlns:data='http://www.google.com/2005/gml/data'
xmlns:expr='http://www.google.com/2005/gml/expr'
xmlns:fb='http://ogp.me/ns/fb#'>
<!-- HTML xmlns Tag -->
<!-- Facebook Like Button JavaScript SDK -->
<div id='fb-root'/>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/zh_TW/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Facebook Like Button JavaScript SDK -->
<!-- Facebook Like Button -->
<fb:like expr:href='data:post.url' send='true' show_faces='false'
width='700'/>
<!-- Facebook Like Button -->
--
Google 蘋科技 - Apple Tech|███████████▕搜尋▏進階搜尋 | 使用偏好
搜尋: ⊙所有網頁 ○中文網頁○繁體中文網頁 ○台灣的網頁
facebook 粉絲專頁 : http://goo.gl/ABSt2
Google Blogger : http://www.appletech.tw/
Rss 訂閱 : http://feeds.feedburner.com/AppleTech/tw
--
Tags:
部落格
All Comments

By George
at 2012-03-06T10:45
at 2012-03-06T10:45
Related Posts
請求高手支援

By Faithe
at 2012-03-05T17:39
at 2012-03-05T17:39
首頁只顯示特定標籤

By John
at 2012-03-05T14:37
at 2012-03-05T14:37
請求高手支援(之非高手篇)

By Quintina
at 2012-03-04T12:41
at 2012-03-04T12:41
PIXNET BLOG編輯貼圖的問題

By Belly
at 2012-03-04T01:53
at 2012-03-04T01:53
blogger編輯時一直出現editor... 快瘋掉

By David
at 2012-03-04T00:58
at 2012-03-04T00:58