How to Add Facebook Login Button onto WebPage


Facebook offers a lots of social plugins. Here we are going to
add a Login Button (Login Button Plugin) onto webpage:


[1] Go to https://developers.facebook.com/apps/ and click on the "Create New App"
button or "Register as Developer", in case of new user,follow on-screen steps and
remember the App Id code for later use.


[2] Go to http://developers.facebook.com/docs/reference/plugins/login/ and click
the "Get Code" button.And you will get code like





[3] Paste above HTML5 code just below the body tag and replace APP_ID with the
app id you created for your Facebook app.

[4] Now paste the code from the second box in whatever place you want the login button
to reside. The code should look something like:




[5] Open you page in browser and Enjoy!!! with Facebook Login Button.

3 comments