Hi,
I'm trying to use the BOSS Search API from Rails. I am using the oauth gem. It's returning 404 not found (OAuth::Unauthorized) when I request a token. my_consumer_key and my_consumer_secret were just copy/pasted from my BOSS application page. Has anybody successfully used the oauth gem for BOSS recently? Any idea what this could be?
My code:
require 'oauth'
require 'oauth/consumer'
consumer = OAuth::Consumer.new(
'my_consumer_key',
'my_consumer_secret',
{:site => 'http://yboss.yahooapis.com'}
)
@request_token=consumer.get_request_token
session[:request_token]=@request_token
redirect_to @request_token.authorize_url
puts @request_token