Facebook Login

Spread the love

<html>
<head>
 <title>My Facebook Login Page</title>
</head>
<body>
 <div id="fb-root"></div>
 <script src="http://connect.facebook.net/en_US/all.js"> </script>
 <script>
  FB.init({
    appId:'YOUR_APP_ID', cookie:true,
    status:true, xfbml:true
   });
  </script>
  <fb:login-button perms="email,user_checkins">
  Login with Facebook
  </fb:login-button>
</body>
</html>

A full list of permissions is available in the permissions reference.

You may also like