Package weibo4j.model

Examples of weibo4j.model.PostParameter


   * @since JDK 1.5
   */
  public User showUserByDomain(String domain) throws WeiboException {
    return new User(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "users/domain_show.json",
        new PostParameter[] { new PostParameter("domain", domain) })
        .asJSONObject());
  }
View Full Code Here


   *      href="http://open.weibo.com/wiki/2/users/domain_show">users/domain_show</a>
   * @since JDK 1.5
   */
  public JSONArray getUserCount(String uids) throws WeiboException{
    return  Weibo.client.get(WeiboConfig.getValue("baseURL") + "users/counts.json",
        new PostParameter[] { new PostParameter("uids", uids)}).asJSONArray();
  }
View Full Code Here

public class Search {
  //---------------------------------搜索接口-----------------------------------------------
 
  public JSONArray searchSuggestionsUsers(String q) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/users.json",new PostParameter[]{
      new PostParameter("q", q)
    }).asJSONArray();
  }
View Full Code Here

      new PostParameter("q", q)
    }).asJSONArray();
  }
  public JSONArray searchSuggestionsUsers(String q,int count) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/users.json",new PostParameter[]{
      new PostParameter("q", q),
      new PostParameter("count", count)
    }).asJSONArray();
  }
View Full Code Here

      new PostParameter("count", count)
    }).asJSONArray();
  }
  public JSONArray searchSuggestionsStatuses(String q) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/statuses.json",new PostParameter[]{
      new PostParameter("q", q)
    }).asJSONArray();
  }
View Full Code Here

      new PostParameter("q", q)
    }).asJSONArray();
  }
  public JSONArray searchSuggestionsStatuses(String q,int count) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/statuses.json",new PostParameter[]{
      new PostParameter("q", q),
      new PostParameter("count", count)
    }).asJSONArray();
  }
View Full Code Here

      new PostParameter("count", count)
    }).asJSONArray();
  }
  public JSONArray searchSuggestionsCompanies(String q) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/companies.json",new PostParameter[]{
      new PostParameter("q", q)
    }).asJSONArray();
  }
View Full Code Here

      new PostParameter("q", q)
    }).asJSONArray();
  }
  public JSONArray searchSuggestionsCompanies(String q,int count) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/companies.json",new PostParameter[]{
      new PostParameter("q", q),
      new PostParameter("count", count)
    }).asJSONArray();
  }
View Full Code Here

      new PostParameter("count", count)
    }).asJSONArray();
  }
  public JSONArray searchSuggestionsApps(String q) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/apps.json",new PostParameter[]{
      new PostParameter("q", q)
    }).asJSONArray();
  }
View Full Code Here

      new PostParameter("q", q)
    }).asJSONArray();
  }
  public JSONArray searchSuggestionsApps(String q,int count) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"search/suggestions/apps.json",new PostParameter[]{
      new PostParameter("q", q),
      new PostParameter("count", count)
    }).asJSONArray();
  }
View Full Code Here

TOP

Related Classes of weibo4j.model.PostParameter

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.