public static void main(String[] args) {
System.setProperty("weibo4j.oauth.consumerKey", Weibo.CONSUMER_KEY);
System.setProperty("weibo4j.oauth.consumerSecret", Weibo.CONSUMER_SECRET);
try {
//获取24小时内前20条用户的微博信息;args[2]:用户ID
List<Status> statuses = getWeibo(false,args).getUserTimeline(args[2],new Paging(1,200));
for (Status status : statuses) {
System.out.println(status.getUser().getName() + ":" +
status.getText());
}
} catch (WeiboException e) {