Examples of PostParameter


Examples of weibo4j.model.PostParameter

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

Examples of weibo4j.model.PostParameter

   * @see <a href="http://open.weibo.com/wiki/2/tags/destroy">tags/destroy</a>
   * @since JDK 1.5
   */
  public JSONObject destoryTag(Integer tag_id) throws WeiboException {
      return Weibo.client.post(WeiboConfig.getValue("baseURL") + "tags/destroy.json",
              new PostParameter[] { new PostParameter("tag_id",
                  tag_id.toString()) }).asJSONObject();
  }
View Full Code Here

Examples of weibo4j.model.PostParameter

   * @since JDK 1.5
   */
  public List<Tag> destroyTagsBatch(String ids) throws WeiboException {
    return Tag.constructTags(Weibo.client.post(
        WeiboConfig.getValue("baseURL") + "tags/destroy_batch.json",
        new PostParameter[] { new PostParameter("ids", ids) }));
  }
View Full Code Here

Examples of weibo4j.model.PostParameter

    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"suggestions/users/hot.json").asJSONArray();
  }
 
  public JSONArray suggestionsUsersHot(String category) throws WeiboException{
    return Weibo.client.get(WeiboConfig.getValue("baseURL")+"suggestions/users/hot.json",new PostParameter[]{
      new PostParameter("category", category)
    }).asJSONArray();
  }
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.