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
(2)
5,368 times
Add to favorites
9/1/2012
E-mail Twitter del.icio.us Digg Facebook