網站資料於Facebook 按讚及分享按鈕製作

參考 https://developers.facebook.com/docs/plugins/like-button/ 作法

<div id="fb-root"></div>
<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>


Place the code for your plugin wherever you want the plugin to appear on your page.

<div class="fb-like" data-href="http://chourain.blogspot.tw/"  data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>

記錄下來~以後可以用

留言