close

large_facebook-developers.png 

舊版Facebook Widget

http://www.facebook.com/facebook-widgets/

*Developers功能移往新版Soical plugins,舊版Fan Box安裝上有問題,請用新版的Likes Box

重要工具

*分享按鈕(個人還是覺得比說讚鈕實用)
http://www.facebook.com/facebook-widgets/share.php

*Twitter Link(把FB專頁跟Twitter做連結)
http://www.facebook.com/twitter/ 

 2010-4-22 上午 09-22-00.png 

新版Soical plugins

http://developers.facebook.com/plugins

重要工具

都重要......

安裝教學

專頁視窗的安裝 http://epromotor.pixnet.net/blog/post/30989489
META編輯教學  http://epromotor.pixnet.net/blog/post/30997291

幫網站申請API金鑰 http://developers.facebook.com/setup/
管理你的網站及應用程式 http://www.facebook.com/developers/apps.php

加入這段HTML,部分
Social plugins你的網站
才能順利使用

 

    <div id="fb-root"></div>
    <script>
      window.fbAsyncInit = function() {
        FB.init({appId: 'Your app id', status: true, cookie: true,
                 xfbml: true});
      };
      (function() {
        var e = document.createElement('script');
        e.type = 'text/javascript';
        e.src = document.location.protocol +
          '//connect.facebook.net/zh_TW/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
      }());
    </script>

*app id 請依上方兩個連結申請及查詢

讓網頁懂FBML語言 HTML標籤加上xmlns:fb='http://www.facebook.com/2008/fbml'

arrow
arrow
    全站熱搜

    eProMotor 發表在 痞客邦 留言(0) 人氣()