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
5,749 times
Add to favorites
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 ?