I'm currently trying to use a Yahoo!'s API that requires that I use Oauth 
before being able to consume the service. A sample REST request, otherwise 
ridiculously simple in CF, goes nowhere without authenticating first. For 
example, hitting:

http://fantasysports.yahooapis.com/fantasy/v2/game/242

returns:

<yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'
  xml:lang='en-US'> 
  <yahoo:description>Please provide valid credentials. OAuth 
oauth_problem="unable_to_determine_oauth_type", 
realm="yahooapis.com"</yahoo:description> 
</yahoo:error> 
<!-- fan120.sports.ac4.yahoo.com uncompressed/chunked Mon Aug 16 17:21:28 PDT 
2010 -->

I've signed up for an api key, I've got the shared secret, and a unique 
application ID. Now what do I do with them in ColdFusion? Once I get my 
super-hallpass back from Yahoo after authenticating how do I use it in 
subsequent requests?

The Yahoo! ColdFusion developer page really seems to be missing this key piece 
of insight. Any links or pointers in the right direction would be much 
appreciated.

Matthew Reinbold
Creative Principal, Vox Pop Design, http://voxpopdesign.com 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336332
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to