1314151617181920212223
Weibo weibo = new Weibo(); weibo.setToken(access_token); String cid = args[1]; Comments cm = new Comments(); try { Comment com = cm.destroyComment(cid); Log.logInfo(com.toString()); } catch (WeiboException e) { e.printStackTrace(); } }
1112131415161718192021
String access_token = args[0]; String cid = args[1]; Comments cm = new Comments(); cm.client.setToken(access_token); try { Comment com = cm.destroyComment(cid); Log.logInfo(com.toString()); } catch (WeiboException e) { e.printStackTrace(); } }