This application is demo application to show developer, how to implement login with facebook. It is not using any 3rd part dll and not using any special feature. Pure asp.net and javascript.



How to setup Login with Facebook using Asp.net

1) Register your application into Facebook to have client ID
a. For Registering your application
i. Login here
1. https://developers.facebook.com/apps
ii. Here is how to setup
b.

i.
2) Download source code
3) Update web.config file’s application setting keys
4) Upload code into your domain, it will not work with localhost
5) in sample application, I have not used any 3rd part dll, it is pure java script base authentication
6) Facebook is returning user data in JSON format, I have used simple string functions to manipulate it, but you can use proper JSON string parser.
7) In this sample you will get Facebook ID, Email, first Name and Last Name




Last edited Apr 25, 2012 at 3:42 PM by prabhumehul, version 1

Comments

No comments yet.