Im also getting same problem help me Twitter Developers … W R U
The remote server returned an error: (401) Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
Source Error:
Line 294: finally
Line 295: {
Line 296: webRequest.GetResponse().GetResponseStream().Close();
Line 297: responseReader.Close();
Line 298: responseReader = null;
Source File: g:\TwitterLoginForWebSite\App_Code\oAuthTwitter.cs Line: 296
Stack Trace:
[WebException: The remote server returned an error: (401) Unauthorized.]
System.Net.HttpWebRequest.GetResponse() +6040131
oAuthExample.oAuthTwitter.WebResponseGet(HttpWebRequest webRequest) in g:\TwitterLoginForWebSite\App_Code\oAuthTwitter.cs:296
oAuthExample.oAuthTwitter.WebRequest(Method method, String url, String postData) in g:\TwitterLoginForWebSite\App_Code\oAuthTwitter.cs:268
oAuthExample.oAuthTwitter.oAuthWebRequest(Method method, String url, String postData) in g:\TwitterLoginForWebSite\App_Code\oAuthTwitter.cs:223
TwitterAuthentication.GetUserDetailsFromTwitter() in g:\TwitterLoginForWebSite\TwitterAuthentication.aspx.cs:35
TwitterAuthentication.Page_Load(Object sender, EventArgs e) in g:\TwitterLoginForWebSite\TwitterAuthentication.aspx.cs:19
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207