I'm working on an Application that communicates with the Twitter API using Hammock. I'm able to authenticate using Aouth and I can return the token and the token secret. However when I try to get twitter mentions or post an update, I get a 400 error. From googling, I get that the problem has to do with System.net.HttpWebrequest according to this article http://codeknowledge.net/2011/11/03/httpwebrequest-authentication-error-400/
however I don't get how to override the default and use the custom as described in the link above.
Here is my error details: Any help would be appreciated
The remote server returned an error: (400) Bad Request.System.Net.HttpWebResponse protocolerror
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at Hammock.Web.WebQuery.ExecuteGetDeleteHeadOptions(WebRequest request, WebException& exception) in D:..........\hammock-master\src\net35\Hammock\Web\WebQuery.cs:line 1022query.Result.Exception.TargetSite: {System.Net.WebResponse GetResponse()}