Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 16th, 2013  |  syntax: None  |  size: 0.96 KB  |  views: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>