System.setProperty("weibo4j.oauth.consumerKey", Weibo.CONSUMER_KEY);
System.setProperty("weibo4j.oauth.consumerSecret", Weibo.CONSUMER_SECRET);
try {
Weibo weibo = new Weibo();
weibo.setToken(args[0], args[1]);
RateLimitStatus limitStatus = weibo.rateLimitStatus();
System.out.println(limitStatus.toString());
} catch (WeiboException e) {
e.printStackTrace();
}
}