How to Implement Facebook Login on Your Website using JavaScript

Want to integrate login system to your website ?

Do you know you can easily do it with Facebook web logins?

In this article, you will find out how to use Facebook for implementing login system in your website.

Facebook login enables people to login to your website with their Facebook credentials. Follow the following steps to create Facebook logins

1. First you’ll need a Facebook App ID. Know How to create Facebook App Id

2. Then copy paste below JavaScript code.

<script>

window.fbAsyncInit = function() {

// FB JavaScript SDK configuration and setup

FB.init({

appId : ‘6*******’, // Your FB App ID

cookie : true,

status : false, // enable cookies to allow the server to access the session

xfbml : true, // parse social plugins on this page

version : ‘v2.8’ // use graph api version 2.8

});

};

</script>

Continue Reading..