Package weibo4j.model

Examples of weibo4j.model.PostParameter


  public String[] getFriendsIdsByUid(String uid, Integer count, Integer cursor)
      throws WeiboException {
    return User.constructIds(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/friends/ids.json", new PostParameter[] {
            new PostParameter("uid", uid),
            new PostParameter("count", count.toString()),
            new PostParameter("cursor", cursor.toString()) }));
  }
View Full Code Here


  public String[] getFriendsIdsByName(String screen_name, Integer count,
      Integer cursor) throws WeiboException {
    return User.constructIds(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/friends/ids.json", new PostParameter[] {
            new PostParameter("screen_name", screen_name),
            new PostParameter("count", count.toString()),
            new PostParameter("cursor", cursor.toString()) }));
  }
View Full Code Here

   */
  public JSONArray getRemark(String uids) throws WeiboException {
    return Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/friends/remark_batch.json",
        new PostParameter[] { new PostParameter("uids", uids) }).asJSONArray()
  }
View Full Code Here

   */
  public UserWapper getFollowersByName(String screen_name)
      throws WeiboException {
    return User.constructWapperUsers(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "friendships/followers.json",
        new PostParameter[] { new PostParameter("screen_name",
            screen_name) }));
  }
View Full Code Here

  public UserWapper getFollowersByName(String screen_name, Integer count,
      Integer cursor) throws WeiboException {
    return User.constructWapperUsers(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "friendships/followers.json",
        new PostParameter[] {
            new PostParameter("screen_name", screen_name),
            new PostParameter("count", count.toString()),
            new PostParameter("cursor", cursor.toString()) }));
  }
View Full Code Here

   * @since JDK 1.5
   */
  public UserWapper getFollowersById(String uid) throws WeiboException {
    return User.constructWapperUsers(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "friendships/followers.json",
        new PostParameter[] { new PostParameter("uid", uid) }));
  }
View Full Code Here

   */
  public UserWapper getFollowersById(String uid, Integer count, Integer cursor)
      throws WeiboException {
    return User.constructWapperUsers(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "friendships/followers.json",
        new PostParameter[] { new PostParameter("uid", uid),
            new PostParameter("count", count.toString()),
            new PostParameter("cursor", cursor.toString()) }));
  }
View Full Code Here

   */
  public String[] getFollowersIdsById(String uid) throws WeiboException {
    return User.constructIds(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/followers/ids.json",
        new PostParameter[] { new PostParameter("uid", uid) }));
  }
View Full Code Here

  public String[] getFollowersIdsById(String uid, Integer count,
      Integer cursor) throws WeiboException {
    return User.constructIds(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/followers/ids.json",
        new PostParameter[] { new PostParameter("uid", uid),
            new PostParameter("count", count.toString()),
            new PostParameter("cursor", cursor.toString()) }));
  }
View Full Code Here

  public String[] getFollowersIdsByName(String screen_name)
      throws WeiboException {
    return User.constructIds(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/followers/ids.json",
        new PostParameter[] { new PostParameter("screen_name",
            screen_name) }));
  }
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.