I'm going to be diving into ASP.NET Web API and would like to know if there is an easy way to have my users login with Facebook and Twitter?
With the new release of Visual Studio 2012 and .NEt 4.5 Microsoft has gone full on with OAuth/OpenID.
Article with examples on how to support Facebook, Twitter, and Google accounts (there are 3 more blog articles linked at the bottom).
And here's a sweet little video from S. Hanselmann no less.
Definitely have a look at DotNetOpenAuth. It's an open source library for .Net which supports OpenID, OAuth v1/v2 and InfoCards. There's some nice documentation and sample code on the site as well as in various blogs (such at this one) that should get you pointed in the right direction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With