Saturday, May 21, 2011

Simple Way to Integrate Facebook login button in Aspnet

facebook_login_button

In this article i would like to explain the integration of facebook login button in your aspnet website.Integrating facebook login buttons in applications are very easy.just follow the steps

First,we have to create a application for this click here


facebook_login_button





Next,Immediately you will get this window (see the below picture)


facebook_login_button

Here you need to enter your Application name ex: MyApplication

facebook_login_button

and namespace it is optional and finally click on the check box to accept Terms and Conditions

Next,It will Redirect to Application settings page where you will get Unique AppId and App secret Id

facebook_login_button


Next,You need to add the your site url in which site you're going to integrate the login button Ex: http://developerscode.com/

That's it ..Almost done..click on the save button and copy the app id

Next,create one Default.aspx page and add the following code in aspx page


Facebook Login Authentication Example




Implement Facebook Login Button in Asp.Net

facebook_login_button
facebook_login_button
facebook_login_button

That's it..I Hope it will helps you..Happy coding

developercode
About the Author
Sayyad is a Software Engineer, Blogger and Founder of Developers Code from India.His articles mainly focus on .Net (Web and Windows based applications), Mobile Technologies (Android,IPhone,BlackBerry) and SEO.

Labels: , , , , , , , ,