Quickstart - Web SDKs - Documentation - Facebook for Developers

You should insert it directly after the opening <body> tag on each page you want to load it: <script> window.fbAsyncInit = function() { FB.init({ appId : 'your-app-id' ...

Lee mas