locked
The remote server returned an error: (401) Unauthorized. RRS feed

  • Question

  • Hi All,

            I have a WPF application (C#), which is trying to fetch tweets from twitter. I am using OAuth authentication with twitter streaming API. When i try to acces the url https://stream.twitter.com/1/statuses/sample.json to fetch sample data, i get an Unauthorized error.

    Following status has been found in the exception details "System.Net.WebExceptionStatus.ProtocolError"

    Can anyone help me with this error and how can i resolve the problem. I can provide code if needed.

    • Moved by Sheldon _Xiao Wednesday, December 7, 2011 5:17 AM (From:Windows Presentation Foundation (WPF))
    Wednesday, November 30, 2011 8:18 AM

Answers