Facebook Connect Authentication for ASP.NET - v0.9

Rating:        Based on 5 ratings
Reviewed:  4 reviews
Downloads: 3684
Released: Jun 30, 2009
Updated: Jan 6, 2010 by ACreeger
Dev status: Stable Help Icon

Recommended Download

Application FBConnectAuth.Binaries.0.9.zip
application, 5K, uploaded Jun 30, 2009 - 1890 downloads

Other Available Downloads

Source Code FBConnectAuth.Source.0.9.zip
source code, 101K, uploaded Jun 30, 2009 - 1794 downloads

Release Notes

The first release. It is so easy, there's no documentation :-)

Just add a reference to the DLL in the binaries download, and away you go:

FBConnectAuthentication auth = new FBConnectAuthentication(apiKey,appSecret);
if (auth.Validate() != ValidationState.Valid)
{
    // The request does not contain the details of a valid Facebook connect session - you'll probably want to throw an error here.
}
else
{
    FBConnectSession fbSession = auth.GetSession();
    string userId = fbSession.UserID;
    string sessionKey = fbSession.SessionKey;
    // These values can now be used to communicate with Facebook on behalf of your user - perhaps using the Facebook Developer Toolkit
    // The expiry time and session secret is also available.
}

Enjoy!

Adam

Reviews for this release

     
Works perfectly. Thanks!
by ntotten on Nov 25, 2009 at 6:26 AM
     
Great help!
by shaunco on Aug 11, 2009 at 9:43 AM
     
So far, nice and simple! I got it to work in about 10 minutes (including setting up Connect itself) Great work!
by JonProactiveLogic on Jul 30, 2009 at 1:02 PM
     
Great Work..It saved my lots of time and really easy to use
by sanjaygulati on Jun 30, 2009 at 10:53 PM