// String access_token = args[0];
String access_token = "2.009q4JaB0boMkW8e5efb98210m4BKY";
Timeline tm = new Timeline();
tm.client.setToken(access_token);
try {
StatusWapper status = tm.getUserTimeline();
for (Status s : status.getStatuses()) {
Log.logInfo(s.toString());
}
System.out.println(status.getNextCursor());
System.out.println(status.getPreviousCursor());
System.out.println(status.getTotalNumber());
System.out.println(status.getHasvisible());
} catch (WeiboException e) {
e.printStackTrace();
}
}