public static void main(String[] args) {
System.setProperty("weibo4j.oauth.consumerKey", Weibo.CONSUMER_KEY);
System.setProperty("weibo4j.oauth.consumerSecret", Weibo.CONSUMER_SECRET);
try {
Weibo weibo = getWeibo(true,args);
User user = weibo.endSession();
System.out.println(user.toString());
} catch (Exception e) {
e.printStackTrace();
}
}