Well I comeback to this forum searching I someone can help me with my problem.
I am creating a desktop Application for test the Fantasy Sport API, After that many hours I understand how use the Oauth well I think so but I am not Sure.
I am Using the following URL:
-
https://api.login.yahoo.com/oauth/v2/get_request_tokenWith this URL I Generate one Signature with the ConsumerKey, ConsumerSecret, Token(in this moment is empty), TokenSecret(in this moment is empty), Method POST, TimeStamp, Nonce and the CallBack(I created a Desktop Application and I am sending the word "oob").
After this Function I received a URL Similar to this:
POST&https%3A%2F%2Fapi.login.yahoo.com%2Foauth%2Fv2%2Fget_request_token&oauth_callback%3Doob%26oauth_consumer_key%3Ddj0yJmk9NmcwZ2tSYldjRnhFJmQ9WVSFFSSDFMnAzTjJNbWNHbzlNQS0tJM9Y2uc3VtZXFFaeD0wZQ--%26oauth_nonce%3D9436150%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1210527021%26oauth_version%3D1.0
the Signature is similar to this: nzUfv+pX6VAs234StCasv3as9fU=
The QueryString: oauth_callback=oob&oauth_consumer_key=dj0yJmk9NmcwZ2tSYldjRnhFJmQ9asddENbWNHbzlNTD0tJnM9Y29uc3V
tZXJzZWNyZXQmeD0wZQ--&oauth_nonce=9856150&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1290527021&oauth_version=1.0&oauth_signature=nzUfv%2bpX6VAs2oZStCs8v3as9wU%3d
With this information when I create a WebRequest I received information and one URL similar to this:
https://api.login.yahoo.com/oauth/v2/author...h_token=yqt5fcbWell My Question is how I can do one Query with YQL After that the Application is Authenticated I Think that I can use a URL Similar to this
http://query.yahooapis.com/v1/yql?q=select...key%3D%22238%22 but I am wrong because I received the Code error 401.Thank you for any Tip that I can use for my test application.