parameter_absent problem was resolved.
However, the occurrence of the problem is signature_invalid.
Error message : Authentication error: Unable to respond to any of
these challenges: {oauth=WWW-Authenticate: OAuth
oauth_problem=signature_invalid}
java code :
public String obtainAccessToken() throws Exception {
try {
oAuthAccessor.setProperty("oauth_verifier",
params.getString
("oauth_verifier"));
OAuthMessage oAuthMessage = oAuthClient.getAccessToken
(oAuthAccessor, null, OAuth.newList(OAuth.OAUTH_VERIFIER,
params.getString("oauth_verifier"), OAuth.OAUTH_TOKEN, params.getString
("oauth_token")));
return oAuthMessage.getParameter("xoauth_yahoo_guid");
} catch (OAuthProblemException problem) {
log.error("obtainAccessToken OAuthProblemException
error");
problem.printStackTrace();
log.error(problem);
log.error(problem.getParameters().get(HttpMessage.RESPONSE));
throw new
Exception("export.externemail.cannot.download");
} catch (Exception e) {
log.error("obtainAccessToken Exception error");
e.printStackTrace();
log.error(e);
throw new
Exception("export.externemail.cannot.download");
}
}
Please help me.
--
You received this message because you are subscribed to the Google Groups
"OAuth" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/oauth?hl=en.