Hello, i am trying to develop a yahoo messenger client for Android. I made the first request for the request token and i have the response .
The RequestToken i get it by sending the username, password and my consumer key.
I don't know very well what to do next... , as i seen in this forum the next step should be the Session Request.
I have this code:
java.util.Date today = new java.util.Date(); // get the timestamp long timeStamp = today.getTime();
String sessionUrl = "http://api.login.yahoo.com/v1/session" + "?oauth_consumer_key=" + "MY KEY IS HERE" + "&oauth_nonce=" + "24829.2331" + "&oauth_signature=" + "MY CONSUMER SECRET KEY IS HERE" + "%26" + text.replace("RequestToken=", "") + // here i get the Request token "&oauth_signature_method=PLAINTEXT" + "&oauth_timestamp=" + timeStamp + "&oauth_token=" + text.replace("RequestToken=", "") + // here i get the Request token again "&oauth_version=1.0" + "¬ifyServerToken=1";
Sorry for double posting but i found some things here http://developer.yahoo.com/oauth/guide/oauth-userauth.html it says that i need the user's authorization to make a session. How can i make a log in without that authorization or how can i do the login if i have a android application and not a web application.
I don't need code, i need some links that can open my eyes.
Thank you and sorry for the multi posting but i can't find any edit button.
I used to get confused with that stuff. Actually OAuth guide pages only give you a view into OAuth using to deal with Yahoo!API and WebServices in common. In some application that need access to user's profile then we will need to do that confirmation.