我們通常可以從部落格上的書籤Social Bookmark網站分享貼紙Sharing Button去進行一種Web2.0廢墟的觀察。

特別是在台灣。

最近在移除Technorati的widget時,想到剛開始blogging的那幾年,Technorati的Sharing Button,即使在台灣也算得上盛極一時,然而,沒幾年就淪落至乏人問津了。

在台灣,類似Technorati遭遇的,還包括這之後出現的數個digg-like書籤網站。同樣地,在相對短暫的熱度之後,就開始長期冷冷清清。

我們其實很清楚許多書籤網站的Sharing Button已經沒人在用,但還是像保留古蹟一樣,留著象徵某種意義,或者單純當作紀念。

這大概就是絕大多數部落格的作法:保留Web2.0廢墟,然後,再逐步加上TwitterPlurk的Sharing Button。

然而,相對於Twitter與Plurk,據說在台灣會員數已經超過300萬的Facebook,或許是個更具使用潛力的Sharing Button。

想要在自己的網站或部落格上增加一個可計數的Facebook Sharing Button,可以參考fbshare.me所提供的widget。直接在網頁上想要露出分享貼紙的位置,貼上語法原始碼:

<script src="http://widgets.fbshare.me/files/fbshare.js"></script>

此外,你也可以參考fbshare.me所提供的widget語法參數說明,自訂一個合用的分享貼紙:

* size - The size of the button: 'large' OR 'small' (if not specified, defaults to 'large')

* url - The URL of the page you want shared on Facebook (if not specified, defaults to that of the page on which the button is displayed)

* title - The name of the page you want shared on Facebook (if not specified, defaults to that of the page on which the button is displayed)

* google_analytics - If no awesm_api_key specified, sets whether fbshare.me links have Google Analytics parameters added: true OR false (if not specified, defaults to false)

* awesm_api_key - For existing awe.sm customers only (if not specified, will use fbshare.me links)

以我的部落格為例,我只需要一個小尺寸且可被Google Analytics統計的分享貼紙,語法就像這樣:

<script>var fbShare = {
size: 'small',
google_analytics: 'true'
}</script>
<script src="http://widgets.fbshare.me/files/fbshare.js"></script>

6 留言

高藥師寫道…
請問那個.js

萬一他出了問題不就壞了

可以抓下來放在自己空間嗎
Jas寫道…
這應該要直接問他們站方,或者看一下網站或js裡有沒有關於這方面的使用授權說明。
如果為了以防萬一,抓下來備用倒是可以考慮。
您好script src="http://widgets.fbshare.me/files/fbshare.js"></script

請問可以放在fb的首頁上嗎?? 我想要計數來我首頁人數..: 感謝你耶..
土萌螢Simyia寫道…
請問...是要貼在Face book的哪裡呢>_<...還是看不太懂要用應用程式還是哪裡...
Jas寫道…
這是用來擺在Blog的template裡。
hi寫道…
謝謝分享:>
較新的 較舊