title: Oauth error in flickraw gem
body: <p>I'm using flickraw gem to get links to photos in my flickr profile and display them on my blog. I'm following the documentation on github but its throwing the following error</p>
  
  <pre><code>Processing by StaticPagesController#index as HTML
  Completed 500 Internal Server Error in 916ms
  
  FlickRaw::OAuthClient::FailedResponse - FlickRaw::OAuthCli
  flickraw (0.9.8) lib/flickraw/oauth.rb:156:in `post'
  flickraw (0.9.8) lib/flickraw/oauth.rb:92:in `post_form'
  flickraw (0.9.8) lib/flickraw/api.rb:58:in `call'
  flickraw (0.9.8) lib/flickraw/api.rb:48:in `initialize'
  flickraw (0.9.8) lib/flickraw.rb:20:in `flickr'
  app/controllers/static_pages_controller.rb:6:in `index'
  </code></pre>
  
  <p>I have the following code in my controller</p>
  
  <pre><code>  class StaticPagesController &lt; ApplicationController
      def index
        token = flickr.get_request_token
        auth_url = token['oauth_authorize_url']
        puts "Open this url in your process to complete the authication process : #{auth_url}"
        puts "Copy here the number given when you complete the process."
        verify = gets.strip
  
        begin
          flickr.get_access_token(token['oauth_token'], token['oauth_token_secret'], verify)
          login = flickr.test.login
          puts "You are now authenticated as #{login.username}"
        rescue FlickRaw::FailedResponse =&gt; e
          puts "Authentication failed : #{e.msg}"
        end
      flickr.photos.search(user_id: "130879534@N07")
    end
  end
  </code></pre>
  
  <p>Following is my Flickraw.rb</p>
  
  <pre><code>FlickRaw.secure = false
  FlickRaw.api_key = "&lt;api key&gt;"
  FlickRaw.shared_secret = "&lt;secret&gt;"
  </code></pre>