1314151617181920212223
String id = args[1]; Weibo weibo = new Weibo(); weibo.setToken(access_token); Timeline tm = new Timeline(); try { Status status = tm.Repost(id); Log.logInfo(status.toString()); } catch (WeiboException e) { e.printStackTrace(); } }
1112131415161718192021
String access_token = args[0]; String id = args[1]; Timeline tm = new Timeline(); tm.client.setToken(access_token); try { Status status = tm.Repost(id); Log.logInfo(status.toString()); } catch (WeiboException e) { e.printStackTrace(); } }