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)
 
 
 
 
 
(2)
4,229 times
Add to favorites
9/1/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • MessageHanlders
    1 Posts | Last post May 01, 2012
    • Are there any major differences between MessageHanlder model and MVC ActionFilters ?