1314151617181920212223
Weibo weibo = new Weibo(); weibo.setToken(access_token); Trend tm = new Trend(); String trend_name = args[1]; try { UserTrend ut = tm.trendsFollow(trend_name); Log.logInfo(ut.toString()); } catch (WeiboException e) { e.printStackTrace(); } }
1112131415161718192021
String access_token = args[0]; Trend tm = new Trend(); tm.client.setToken(access_token); String trend_name = args[1]; try { UserTrend ut = tm.trendsFollow(trend_name); Log.logInfo(ut.toString()); } catch (WeiboException e) { e.printStackTrace(); } }