Re: [twitter-dev] Not able to get request token

2010-11-26 Thread Igor Kharin
Well, I see. First of all oauth_signature is HMAC hash of your properly encoded query parameters, not oauth_token_secret. The idea is that only your app and Twitter may know it. Don't ever send it! Request token is like an authorization session ID, which you would exchange for an access token

Re: [twitter-dev] Not able to get request token

2010-11-26 Thread deepa nagaraj
hi rajat... even me to was getting 401 error.. but its resolved.. during registering your application to twitter you need to give callback url... like http://localhost:8080. i have done this using java... so my code is: String CallbackURL= http://localhost:8080/tweetproj/index.jsp;; where

Re: [twitter-dev] Not able to get request token

2010-11-24 Thread Matt Harris
HI Rajat, Double check the time on your machine is in sync with the Twitter servers (GMT). If the timestamp is too far from Twitter's server time OAuth will not work. Also, check the body content of the 403 response. It often contains information that can help diagnose connection problems. Best

[twitter-dev] Not able to get request token

2010-11-23 Thread rajat
I am sending AJAX request to acquire a request token but getting 403 Forbidden error. I am putting following example to show my approach Available info : --- 1. Consumer Key : abckey 2. Consumer secret : xyzsecret 3. Request token URL :