Last post Apr 11, 2014 01:17 PM by Rion Williams
Apr 11, 2014 12:36 PM|Shaheer Abbas|LINK
I wanted to login to facebook account using asp.net C# by using text boxes in asp.net
but i didn't find out the solution and i am also using the facebook.dll and facebook.web libararies
please help me i am new to asp.net. . .
thanks in advance :)
Apr 11, 2014 01:10 PM|bbcompent1|LINK
This article should help you do it:
Apr 11, 2014 01:17 PM|Rion Williams|LINK
There are a few different things worth considering here, which I will review over below.
Accessing Facebook through the .NET SDK and jQuery API
I would recommend visiting the Facebook documentation for .NET (if you want to see some of the available .NET options for integrating Facebook) :
It features a fairly straight forward walkthrough that can be found on the Getting Started area, which should have everything that you need to hook into Facebook to view and post content from
your application and a few other examples that may be worth looking into. It contains information about logging in and authenticating within Facebook that might be helpful.
Facebook also features a jQuery-based API that can be used much like the previously mentioned .NET SDK and might be better suited to handle your particular situation :
This is often referred to as "Open" Authentication (OAuth) and allows you to use the credentials from third-party sources such as Facebook, GMail, Twitter, Yahoo and others to authentication much like you would with your own credentials.
I would highly recommend the link provided by ramiramilu for the DotNetOpenAuth project, which would make integrating many of these features into your application fairly easy. I would also encourage you to check out
the Code section of OAuth.net, which features a variety of other options for integrating Open Authentication into your .NET Applications.
If you wanted to use Facebook or other Social sites to handle logging in, you might favor something like the SocialAuth library. It features easy-to-use wrappers for nearly all of the major "social"
sites as well as other major networks such as Gmail, Twitter, Facebook, Yahoo, MSN, LinkedIn and more.
Marc Mezzacca offers an in-depth breakdown of each of the commonly used Open and Social-Authentication libraries and packages out there in this blog post.
It may be worth reading and hearing his opinions after using each of them to determine which might be the best solution for you.