[twitter-dev] Cannot obtain access token for authenticated user when a callback url is sent

2010-06-04 Thread avinash
Hi,
I'm working on a web app(interacts with twitter) which uses an oauth
protocol for user authorisation. I had registered my app at twitter
with a specified callback url. But while I make an request I override
it by binding  oauth_callback parameter in my request header. It works
fine till user authorization is concerned but I'm not able to obtain
the authenticated user's access token.

But however if I do not override the callback url everything works
fine.

Please could you suggest where am I going on?Highlight some pointers
so that I could resolve the issue.

Avinash


Re: [twitter-dev] Cannot obtain access token for authenticated user when a callback url is sent

2010-06-04 Thread Taylor Singletary
Could you share some of the steps of your request while setting your
oauth_callback?

  * Signature Base String
  * Your Authorization header
  * Any POST body you are sending
  * The exact URL you are executing

What happens when you complete the authorization step? What specifically
does not happen?

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Fri, Jun 4, 2010 at 6:08 AM, avinash avinash...@gmail.com wrote:

 Hi,
 I'm working on a web app(interacts with twitter) which uses an oauth
 protocol for user authorisation. I had registered my app at twitter
 with a specified callback url. But while I make an request I override
 it by binding  oauth_callback parameter in my request header. It works
 fine till user authorization is concerned but I'm not able to obtain
 the authenticated user's access token.

 But however if I do not override the callback url everything works
 fine.

 Please could you suggest where am I going on?Highlight some pointers
 so that I could resolve the issue.

 Avinash