I'm trying to get the sample code on the Fantasy Sports API page running: http://developer.yahoo.com/fantasysports/guide/GettingStarted.html#GettingStarted-sample
I keep getting an error on line 58: $response = $o->getRequestToken( "https://api.login.yahoo.com/oauth/v2/get_request_token", 'oob' );
The error I'm getting is Invalid auth/bad request (got a 401, expected HTTP/1.1 20X or a redirect)
I have registered my API key and secret and verified that they are correct in the sample code. I didn't touch anything else in the code. Can someone please help me out with why I'm getting this exception. It would be greatly appreciated.