import weibo4j.model.WeiboException;
public class GetBilateralTimeline {
public static void main(String[] args) {
String access_token = args[0];
Timeline tm = new Timeline();
tm.client.setToken(access_token);
try {
StatusWapper status = tm.getBilateralTimeline();
for (Status s : status.getStatuses()) {
Log.logInfo(s.toString());
}
System.out.println(status.getNextCursor());
System.out.println(status.getPreviousCursor());