Guest User

Untitled

a guest
Jan 16th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>My Facebook Login Page</title>
  4. </head>
  5. <body>
  6. <div id="fb-root"></div>
  7. <script>
  8. window.fbAsyncInit = function() {
  9. FB.init({
  10. appId : '***', // App ID
  11. channelUrl : 'http://www.***.in/', // Channel File
  12. status : true, // check login status
  13. cookie : true, // enable cookies to allow the server to access the session
  14. xfbml : true // parse XFBML
  15. });
  16. };
  17. // Load the SDK Asynchronously
  18. (function(d){
  19. var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
  20. if (d.getElementById(id)) {return;}
  21. js = d.createElement('script'); js.id = id; js.async = true;
  22. js.src = "js/all.js";
  23. ref.parentNode.insertBefore(js, ref);
  24. }(document));
  25. </script>
  26. <div class="fb-login-button" data-show-faces="true" data-width="500" data-max-rows="1"></div> </div>
  27. </body>
  28. </html>
Add Comment
Please, Sign In to add comment