2011年07月04日02:20 by oklahomer FB.init カテゴリJS SDK http://developers.facebook.com/docs/reference/javascript/FB.init/ ライブラリを初期化します。 一般的なオプションを指定した初期化は以下の通りです。 <div id="fb-root"></div> <script src="http://connect.facebook.net/en_US/all.js"></script> <script> FB.init({ appId : 'YOUR APP ID', status : true, // check login status cookie : true, // enable cookies to allow the server to access the session
![FB.init](https://cdn-ak-scissors.b.st-hatena.com/image/square/858dd0ee5ce368edecda3e095fd45f55113b31b2/height=288;version=1;width=512/https%3A%2F%2Flivedoor.2.blogimg.jp%2Ffacebookers%2Fimgs%2F9%2Fd%2F9d5fed88.jpg)