Platform weibo = ShareSDK.getPlatform(this, SinaWeibo.NAME);
if (weibo.isValid()) {
weibo.SSOSetting(true);
weibo.removeAccount();
ShareSDK.removeCookieOnAuthorize(true);
if (weibo.isValid()) {
weibo.SSOSetting(true);
weibo.removeAccount();
ShareSDK.removeCookieOnAuthorize(true);
}
直接使用weibo.removeAccount();不能实现取消授权。