Hi
Thanks for you reply.
Let me give a overall view about my project
I like import user yahoo contacts using Yahoo Contact API. I understand that to get the yahoo contact the following request URL (API )
http://social.yahooapis.com/v1/user/{guid}/contacts has to use .But it needs guid .
I tired to get the guid by following steps
1.Get an API Key
2.Sign Up and Get a Consumer Key
3.Get a Request Token
upto step 3 i got revelant response. but to proceed further step 4 (https://api.login.yahoo.com/oauth/v2/request_auth
). I am not able to get response for the step 4 (Get User Authorization (request_auth) )
step 1 output:
Consumer Key:
Consumer Secret:
dj0yJmk9UXdMajF3ektjaWJnJmQ9WVdrOVJuVlhPWHA2TXpZbWNHbzlNakkwTWpFd05EWXkmcz1jb25z
dW1lcnNlY3JldCZ4PTVh 946899c696ca46a36dd2b939f8e5a986d6520609
step 2 request and response
curl -v -k
https://api.login.yahoo.com/oauth/v2/get_request_token? -d oauth_nonce=ce2130523f788f313f76314ed3965ea6 -d oauth_timestamp=1202956957 -d oauth_consumer_key=dj0yJmk9UXdMajF3ektjaWJnJmQ9WVdrOVJuVlhPWHA2TXpZbWNHbzlNakkwT
WpFd05EWXkmcz1jb25zdW1lcnNlY3JldCZ4PTVh -d oauth_signature_method=plaintext -d oauth_signature=946899c696ca46a36dd2b939f8e5a986d6520609%26 -d oauth_version=1.0 -d xoauth_lang_pref="en-us" -d oauth_callback="http://localhost" -o n1.txt
oauth_token=gsnjqvf&oauth_token_secret=8d093835f1fe9d6cee1f435409f6beeb590de1de&oauth_expires_in=3600&xoauth_request_auth_url=https%3A%2F%2Fapi.login.yahoo.com%2Foauth%2Fv2%2Frequest_auth%3Foauth_token%3Dgsnjqvf&oauth_callback_confirmed=true
step 3 request
curl -k -v
https://api.login.yahoo.com/oauth/v2/reques...h_token=gsnjqvf -o n2.txt
response
<!-- oauth02.member.sg1.yahoo.com uncompressed/chunked Sun Dec 12 09:23:52 PST 2010 -->
I am getting message in the putput response file , instead of oauth token and oauth verifier.
Kindly help me to fix this issue .
FYI : in the oauth callback pacrameter , i tried with oauth_callback=oob .For this case also , i am getting the above step3
Thanks
melvin