0

YM_NOTIFICATION

for file response, or file transfer notification I use
url:URL_YM_NOTIFICATION +
"?oauth_consumer_key=" + CONSUMER_KEY +
"&oauth_nonce=" + randNo.ToString() +
"&oauth_signature=" + SECRET_KEY + "%26" + OAUTH_TOKEN_SECRET +
"&oauth_signature_method=PLAINTEXT" +
"&oauth_timestamp=" + DateTime.Now +
"&oauth_token=" + OAUTH_TOKEN +
"&oauth_version=1.0" +
"&sid=" + SESSION_ID +
"&seq=" + System.Convert.ToInt16(seq) +
"&count=100";

and also use get method. From response http I get 404 not found. Why?

YM_NOTIFICATION is : http://developer.messenger.yahooapis.com/v1/notifications/

by
1 Reply
  • QUOTE (dave_david @ Mar 3 2011, 06:33 AM) <{POST_SNAPBACK}>
    for file response, or file transfer notification I use
    url:URL_YM_NOTIFICATION +
    "?oauth_consumer_key=" + CONSUMER_KEY +
    "&oauth_nonce=" + randNo.ToString() +
    "&oauth_signature=" + SECRET_KEY + "%26" + OAUTH_TOKEN_SECRET +
    "&oauth_signature_method=PLAINTEXT" +
    "&oauth_timestamp=" + DateTime.Now +
    "&oauth_token=" + OAUTH_TOKEN +
    "&oauth_version=1.0" +
    "&sid=" + SESSION_ID +
    "&seq=" + System.Convert.ToInt16(seq) +
    "&count=100";

    and also use get method. From response http I get 404 not found. Why?

    YM_NOTIFICATION is : http://developer.messenger.yahooapis.com/v1/notifications/


    It's hard to tell why you are getting a 404 error based on just the information here. Can you post the entire http request/response

    Also, the only time you are supposed to use developer.messenger.yahooapis.com is when you create the initial session.The session creation response will return to you a 'server' attribute that you are to use for all subsequent requests for that session against API addresses references with <server>.
    0

Recent Posts

in Messenger IM SDK