Extending HttpClient with OAuth to Access Twitter

Many popular Web APIs such as the twitter API use some form of OAuth for authentication. HttpClient does not have baked in support for OAuth but using the HttpClient extensibility model you can add OAuth as part of the HttpMessageHandler pipeline. This sample shows you how.

C# (853.6 KB)
5 Star
6,004 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook