twitter-development-talk

[Prev] Thread [Next]  |  [Prev] Date [Next]

[twitter-dev] Re: oauth_callback isn't redirecting correctly - what am i missing? Abraham Williams Fri Jun 26 17:00:21 2009

When you get the request token add
"oauth_callback%3Dhttp%3A%2F%2Frr.mydomain.com%3A7070%2Ftcallback.jsp"
and when you send the user for authorization only include oauth_token.

Abraham

On Fri, Jun 26, 2009 at 16:55, goodtest<[EMAIL PROTECTED]> wrote:
>
> I am using javascript and proxy to basically make request_token call
> and once i get an unAuthorized token, I am then doing:
> http://twitter.com/oauth/authorize?oauth_token=KpQu4RvuEutVKvb9UUwHQpYDOzX5YRzYu71Z3Huieuc&oauth_callback=http://rr.mydomain.com:7070/tcallback.jsp
>
> - i think encode the above url and do a HTTP GET.
>
> but twitter after authorization, redirects to:
> http://rr.mydomain.com:7070/mydomain/http%3A%2F%2Ftwitter.com%2Foauth%2Fauthorize%3Foauth_token%3DKpQu4RvuEutVKvb9UUwHQpYDOzX5YRzYu71Z3Huieuc%26oauth_callback%3Dhttp%3A%2F%2Frr.mydomain.com%3A7070%2Ftcallback.jsp
>
> <mydomain>/<the url i send to twitter to authorize>, its not looking
> into aouth_callback section.
>
> What Am I missing?



-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.