File not found error when exchanging request token for access token
Hi, I'm creating an application which can fetch the contacts of Yahoo! users, using OpenID/OAuth authorization method which described here:http://developer.yahoo.com/oauth/guide/openid-oauth-guide.html
I've passed the first 3 steps successfully: 1. Signup for an OAuth consumer key (OK) 2. Performs OpenID Discovery (I skip this step, and use the following URL: https://open.login.yahooapis.com/openid/op/auth, because "it's unlikely to change") 3. Get a Pre-approved Request Token (OpenID) (OK)
After the third step, I've retrieved the pre-approved access token, but failed in the fourth step. Everytime I make a request to https://api.login.yahoo.com/oauth/v2/get_token.... it returns File Not Found error. What I can do to fix this problem?
By the way, in the fourth step, OAuth requires the parameter oauth_signature. Because I don't have the Token Secret (I can't find it in responses of step 3), how can I create this signature?
um, when I saw the response in Firebug, it returns HTTP 401 status code (forbidden). Here is the complete response header: Date Tue, 27 Jul 2010 04:09:58 GMT P3P policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" WWW-Authenticate OAuth oauth_problem=token_rejected Connection close Transfer-Encoding chunked Content-Type application/x-www-form-urlencoded
What does this means? Is something wrong with my oauth_request_token?