Hi there,

For "browser" applications where you have specified the callback URL twitter does fall back on that value unless you send the oauth_callback=oob. If you send "oob" (out of band) you are essentially asking us to go though the PIN flow despite our better judgement. The issue for many people is that the latest versions of the OAuth gem add "oob" if you don't provide a value. I opened an issue with the gem maintainer [1] and someone has helpfully included a patch in reply to that.

Thanks;
 – Matt Sanford / @mzsanford
     Twitter Dev

[1] - http://github.com/mojodna/oauth/issues#issue/7

On Jun 18, 2009, at 3:16 AM, Ryan Bigg wrote:


On further consideration, I really believe that twitter itself should
do this, given that you set the callback when you're creating/editing
the application AND you set it to "browser". It appears to me as if
these options are purely cosmetic. I shouldn't have to set the
callback when Twitter already knows what that callback is!

-----
Ryan Bigg
Mocra - Premier iPhone and Ruby on Rails Consultants
w - http://mocra.com
e - [email protected]
p - +61 432 937 289 or +61 7 3102 3237
skype - radarlistener








On 18/06/2009, at 6:36 PM, Lachlan Hardy wrote:


I'm using the OAuth gem, but I had a similar problem.

You need to ensure you are specifying the oauth_callback in your
request.

eg @request_token = @consumer.get_request_token(:oauth_callback =>
"http://example.com/auth";)

instead of

@request_token = @consumer.get_request_token


Reply via email to