Package weibo4j.model

Examples of weibo4j.model.UserTrend


   * @see <a
   *      href="http://open.weibo.com/wiki/2/trends/follow">trends/follow</a>
   * @since JDK 1.5
   */
  public UserTrend trendsFollow(String trend_name) throws WeiboException {
    return new UserTrend(Weibo.client.post(WeiboConfig.getValue("baseURL")
        + "trends/follow.json",
        new PostParameter[] { new PostParameter("trend_name",
            trend_name) }));
  }
View Full Code Here


    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();
    }
  }
View Full Code Here

    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();
    }
  }
View Full Code Here

   * @see <a
   *      href="http://open.weibo.com/wiki/2/trends/follow">trends/follow</a>
   * @since JDK 1.5
   */
  public UserTrend trendsFollow(String trend_name) throws WeiboException {
    return new UserTrend(client.post(WeiboConfig.getValue("baseURL") + "trends/follow.json",
        new PostParameter[] {new PostParameter("trend_name", trend_name)}));
  }
View Full Code Here

TOP

Related Classes of weibo4j.model.UserTrend

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.