= codeBlender "login", "social/facebook/login"
<div class='fb-like' data-share='true' data-show-faces='true' data-width='450'></div>
<login-button onlogin='checkLoginState();' scope='public_profile,email'></login-button>
<div class='fb-login-button' data-auto-logout-link='true' data-max-rows='1' data-show-faces='false' data-size='large'></div>
<div id='status'></div>


  • A Facebook AppID is required - https://developers.facebook.com/apps/


  • Checking the login status to see if someone's already logged into your app
    • During this step, you also should check to see if someone has previously logged into your app, but is not currently logged in
  • If they are not logged in, invoke the login dialog and ask for a set of data permissions
  • Verify their identity
  • Store the resulting access token
  • Make API calls
  • Log out

Resources Useful websites and tutorials


Task Date
Create a working example of a Facebook login for web