当前位置:编程学习 > wap >>

腾讯微博开放平台中oauth认证oauth_signature的计算


密钥的计算方法是什么?
我的这个计算密钥的方法对不对啊?
//step 1:构造密钥
String secret="";
if(oauth_token_secret.equals(""))
{
secret=URLEncoder.encode(oauth_consumer_secret);
}
else
{
secret=URLEncoder.encode(oauth_consumer_secret)+"&"+URLEncoder.encode(oauth_token_secret);
}

还有就是有Signature Base String和密钥之后怎么计算oauth_signature?
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,