public static void main(String[] args) {
String access_token = args[0];
Comments cm = new Comments();
cm.client.setToken(access_token);
try {
CommentWapper comment = cm.getCommentMentions();
for (Comment c : comment.getComments()) {
Log.logInfo(c.toString());
}
System.out.println(comment.getNextCursor());
System.out.println(comment.getPreviousCursor());
System.out.println(comment.getTotalNumber());
System.out.println(comment.getHasvisible());
} catch (WeiboException e) {
e.printStackTrace();
}
}