Can anyone please help?

On Aug 15, 3:59 pm, Ritvvij <[email protected]> wrote:
> Hi,
>
> development env: ruby on rails
> oauth: 0.3.5
> gem used: twitter_oauth
>
> My code to call twitter is
>
> client = TwitterOAuth::Client.new(
>       :consumer_key => Attribute::CONSUMER_KEY,
>       :consumer_secret => Attribute::CONSUMER_SECRET)
> request_token = client.request_token(:oauth_callback => 'http://abc/
> authorization/')
> redirect_to request_token.authorize_url
>
> After this, the control goes 
> tohttp://twitter.com/oauth/authorize?oauth_token=k*********************...
>
> Here the user puts his twitter userid password pressed APPROVE and
> gets redirected tohttp://twitter.com/oauth/authorize
>
> instead of my call back URL.
> Can someone guide why?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to