Hello,

I'm not having success with the following code, I get a "Sorry, page doesn't exist!" webpage. I am using the OAuth v0.4.1 gem. Your help and guidance is very appreciated, thanks!

If I type the following out in IRB, it seems to work, but of course I can't redirect from the shell.


class HomeController < ApplicationController

  def index
     @consumer = OAuth::Consumer.new( "bLXXXXXXXXI9szbXTJQnXKA",
       "XXXXXXXXXXm41S6SYEy9uYR5oiAUxToPvQUlMd6g9A",
       { :site=>"https://api.twitter.com/oauth/request_token"; } )

      @request_tok...@consumer.get_request_token

      session[:consumer]      = @consumer
      session[:request_token] = @request_token

      redirect_to @request_token.authorize_url
  end

end

--
Kind Regards,
Rajinder Yadav

Reply via email to