Examples of PostParameter


Examples of weibo4j.model.PostParameter

      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

Examples of weibo4j.model.PostParameter

      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

Examples of weibo4j.model.PostParameter

      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

Examples of weibo4j.model.PostParameter

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

Examples of weibo4j.model.PostParameter

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

Examples of weibo4j.model.PostParameter

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

Examples of weibo4j.model.PostParameter

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

Examples of weibo4j.model.PostParameter

   * @see <a href="http://open.weibo.com/wiki/2/tags">tags</a>
   * @since JDK 1.5
   */
  public List<Tag> getTags(String uid) throws WeiboException {
    return Tag.constructTags(Weibo.client.get(WeiboConfig.getValue("baseURL")
            + "tags.json", new PostParameter[] { new PostParameter(
            "uid", uid) }));
  }
View Full Code Here

Examples of weibo4j.model.PostParameter

   */
  public List<Tag> getTags(String uid, Paging page) throws WeiboException {
    return Tag
        .constructTags(Weibo.client.get(WeiboConfig.getValue("baseURL")
            + "tags.json", new PostParameter[] {
          new PostParameter("uid", uid) }, page));
  }
View Full Code Here

Examples of weibo4j.model.PostParameter

   * @since JDK 1.5
   */
  public TagWapper getTagsBatch(String uids) throws WeiboException {
    return Tag.constructTagWapper(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "tags/tags_batch.json",
        new PostParameter[] { new PostParameter("uids", uids) }));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.