public class GetTrendsDaily {
public static void main(String[] args) {
String access_token = args[0];
Weibo weibo = new Weibo();
weibo.setToken(access_token);
Trend tm = new Trend();
List<Trends> trends = null;
try {
trends = tm.getTrendsDaily();
for(Trends ts : trends){
Log.logInfo(ts.toString());
}
} catch (WeiboException e) {
e.printStackTrace();