Invalid auth/bad request (got a 401, expected HTTP/1.1 20X or a redirect)
I am attempting to access the Yahoo Fantasy Sports API via oauth and continue to receive the following error:
Error: Invalid auth/bad request (got a 401, expected HTTP/1.1 20X or a redirect) Response: oauth_problem=token_rejected
I have spent time digging around the internet and have scratched off the common cause of the server time being out of sync. I have installed the NTP service and confirmed that is not the issue. I have also confirmed I'm using the correct keys and have regenerated them twice as well. This is a ubuntu 10.04 OS with the pecl oauth package installed. I'm using the sample code provided by Yahoo. I attempted to post the code but I received "Invalid Content."