}
/*----------------------------Oauth接口--------------------------------------*/
public AccessToken getAccessTokenByCode(String code) throws WeiboException {
return new AccessToken(client.post(WeiboConfig.getValue("accessTokenURL"), new PostParameter[] {
new PostParameter("client_id", WeiboConfig.getValue("client_ID")),
new PostParameter("client_secret", WeiboConfig.getValue("client_SERCRET")),
new PostParameter("grant_type", "authorization_code"), new PostParameter("code", code),
new PostParameter("redirect_uri", WeiboConfig.getValue("redirect_URI"))}, false));
}