I am hitting the Rest API http://api.twitter.com/1/users/show.json?screen_name=demouser1209 using the windows service.
Problem is that we in our application not making more than 150 calls per hour but server has many applications which are calling different rest APIs. So, unfortunately our service is facing rate limit issue.
So we are trying to implement the OAuth. We have followed the steps mentioned over here https://dev.twitter.com/docs/auth/authorizing-request. But unfortunately even after sending the authentication request we are getting the rate limit of 150 only. So that means the authentication is not working. But we are also not getting any X-Warning in the response header so I am not sure where we are failing.
I have even verified the signature against the one getting created using the OAuth tool under My Application over twitter dev site. They are matching perfect.
Also, when I try switching to version 1.1 of API, I am getting the “400 bad request” error which is having information as “Protocol Error”.
It will be great if someone can help me resolve the issue.