0

Using Java to access GUID

Hi Experts,

Today I encounter one issue when I use java to send one request to get guid.

Here is the request:

GET /v1/user/me/guid HTTP/1.1
Authorization: OAuth realm="yahooapis.com", oauth_consumer_key="dj0yJmk9dUxCeEpFOGduTmJ0JmQ9WVdrOWVXODVXbGwyTnpnbWNHbzlNVGd6TkRZd016TXlPUS0
tJnM9Y29uc3VtZXJzZWNyZXQmeD1kNw--", oauth_nonce="ce2130523f788f313f76314ed3965ea6", oauth_signature_method="plaintext", oauth_timestamp="1226306888", oauth_token="zgzvse", oauth_version="1.0", oauth_signature="6010c3a919d3e93b7f76817a879d3b9f419b469c%2526"
User-Agent: Java/1.5.0
Host: social.yahooapis.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-type: application/x-www-form-urlencoded

And Response is:

HTTP/1.1 404 Not Found on Accelerator
Date: Mon, 10 Nov 2008 08:49:56 GMT
Connection: close
Server: YTS/1.17.9
Cache-Control: no-store
Content-Type: text/html
Content-Language: en
Content-Length: 240

<HEAD><TITLE>Not Found on Accelerator</TITLE></HEAD>
<BODY BGCOLOR="white" FGCOLOR="black">
<FONT FACE="Helvetica,Arial"><B>
Your requested URL was not found.</B></FONT>

<!-- default "Not Found on Accelerator" response (404) -->
</BODY>

Could you explain why? rolleyes.gif

by
4 Replies
  • Hi bjliuqi,

    I think the issue you are having is similar to one experienced by another developer, detailed here: http://developer.yahoo.net/forum/index.php?showtopic=321. At the bottom Brian lists off what his issue was. If that is not the issue you are experiencing please let us know (maybe with the full code sample you're using) and we'll look closer.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network
    0
  • Hello, Jon,

    I have seen the topic and it seems it's not the same issue. Could you ping me via My mail bjliuqi@yahoo.com. Thus I can send you the sample. Thanks.

    QUOTE (Jon @ Nov 10 2008, 07:59 PM) <{POST_SNAPBACK}>
    Hi bjliuqi,

    I think the issue you are having is similar to one experienced by another developer, detailed here: http://developer.yahoo.net/forum/index.php?showtopic=321. At the bottom Brian lists off what his issue was. If that is not the issue you are experiencing please let us know (maybe with the full code sample you're using) and we'll look closer.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network
    0
  • Sure thing, the e-mail has been sent. You can also contact me directly form my Yahoo! profile - http://profiles.yahoo.com/u/NJFIDHVPVVISDXZKT7UKED2WHU

    - Jon

    QUOTE (bjliuqi @ Nov 11 2008, 12:59 AM) <{POST_SNAPBACK}>
    Hello, Jon,

    I have seen the topic and it seems it's not the same issue. Could you ping me via My mail bjliuqi@yahoo.com. Thus I can send you the sample. Thanks.
    0
  • respected sir my mail created som probelem in runing,and give this massage and as write Not Found Your requested URL was not found. sir why this probelem

    0

Recent Posts

in Social Directory API