예제 #1
0
 public static void main(String[] args) {
   String access_token = args[0];
   Account am = new Account(access_token);
   try {
     RateLimitStatus json = am.getAccountRateLimitStatus();
     Log.logInfo(json.toString());
   } catch (WeiboException e) {
     e.printStackTrace();
   }
 }
예제 #2
0
 public static void main(String[] args) {
   String access_token = args[0];
   String uid = args[1];
   Place p = new Place(access_token);
   try {
     List<Places> list = p.checkinsList(uid);
     for (Places pl : list) {
       Log.logInfo(pl.toString());
     }
   } catch (WeiboException e) {
     e.printStackTrace();
   }
 }