You and I have the same problem, Can anyone help me please?
base string
String bss;
bss = “POST” + “&”+ URLEncoder.encode(“https://api.twitter.com/1.1/statuses/update.json”, “utf8”) + “&”;
String bsss =“oauth_consumer_key=” + getTwAppid() +
"&oauth_nonce="+ set_nonce +
"&oauth_signature_method="+ “HMAC-SHA1” +
"&oauth_timestamp="+ oauth_timestamp +
"&oauth_token="+ “1669812324-tMJUZ0w5JTv2ZggLrx5pP10Dzd5oPJOTg9vwJHL” +
"&oauth_version=" + 1.0+
"&status="+URLEncoder.encode(“1234”,“UTF-8”);
bsss = HttpUtil.encodeURIComponent(bsss);
I can be get oauth_signature and oauth tool to the same result can be, so it should be no problem oauth_signature
date
params.put(“oauth_consumer_key”, getTwAppid());
params.put(“oauth_nonce”,set_nonce);
params.put(“oauth_signature”, URLEncoder.encode(oauth_signature, “UTF-8”));
params.put(“oauth_token”, “1669812324tMJUZ0w5JTv2ZggLrx5pP10Dzd5oPJOTg9vwJHL”);
params.put(“oauth_signature_method”, “HMAC-SHA1”);
params.put(“oauth_timestamp”, oauth_timestamp);
params.put(“oauth_consumer secret”, getTwAppkey());
params.put(“oauth_version”, “1.0”);