I got an error, as "The remote server returned an error: (401) Unauthorized" while trying to connect with the twitter from my application, the function is written in C#.
Looks like you are not authorized on the Twitter server, you need to authorize yourself before you can make any API calls. This is not an Umbraco issue though...
Error 401 unauthorized
I got an error, as "The remote server returned an error: (401) Unauthorized" while trying to connect with the twitter from my application, the function is written in C#.
What and where will be the problem?
Please elaborate! are you using 3rd party packages? custom development? is this in umbraco context? If so, explain in further detail?
Cheers,
/Dirk
It is not a 3rd party package.
It is custom development.
Yes, I am trying to implement in Umbraco but the error appears even in .NET IDE also.
StreamReader responseReader = null;
The error throws in the following line
responseReader = new StreamReader(webRequest.GetResponse().GetResponseStream());
Looks like you are not authorized on the Twitter server, you need to authorize yourself before you can make any API calls. This is not an Umbraco issue though...
Check out the Twitter package by Warren.
Sascha
is working on a reply...