這其實是老梗了,應該不少人知道

但是這個老梗還是有讓我學到些東西

就是別人分享你網址到塗鴉牆的時候,可以用下面這些meta tag 來事先定義好內容

http://ogp.me/   <----- 請來這查

<html xmlns="http://www.w3.org/1999/xhtml" 
xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head><title>The Rock (1996)</title> 
<meta property="og:title" content="The Rock"/> 
<meta property="og:type" content="movie"/> 
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/"/> 
<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/> 
<meta property="og:site_name" content="IMDb"/> 
<meta property="fb:admins" content="USER_ID"/> 
<meta property="og:description" content="A group of U.S. Marines, under command of a renegade general, take over Alcatraz and threaten San Francisco Bay with biological weapons."/>
 ... </head> ... 
</html>

但是如果你之前已經分享過,但是你現在想要改成上面這樣自訂分享訊息的話

請到這個網頁來輸入網址  http://developers.facebook.com/tools/debug

因為據說 facebook 會暫存這個資料24h

 

arrow
arrow
    全站熱搜

    小雕 發表在 痞客邦 留言(1) 人氣()