Example #1
0
 public static void main(String[] args) {
   String access_token = args[0];
   String mid = args[1];
   Weibo weibo = new Weibo();
   weibo.setToken(access_token);
   Timeline tm = new Timeline();
   try {
     JSONObject id = tm.QueryId(mid, 1, 1);
     Log.logInfo(String.valueOf(id));
   } catch (WeiboException e) {
     e.printStackTrace();
   }
 }