Package weibo4j.model

Examples of weibo4j.model.PostParameter


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


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

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

  public UserWapper getFriendsInCommon(String uid, String suid, Paging page)
      throws WeiboException {
    return User.constructWapperUsers(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "friendships/friends/in_common.json",
        new PostParameter[] {
          new PostParameter("uid", uid),
          new PostParameter("suid", suid)}, page));
  }
View Full Code Here

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

  public  UserWapper getFriendsBilateral(String uid, Integer sort, Paging page)
      throws WeiboException {
    return User.constructWapperUsers(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/friends/bilateral.json",
        new PostParameter[] { new PostParameter("uid", uid),
            new PostParameter("sort", sort.toString()) }, page));
  }
View Full Code Here

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

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

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

  public String[] getFriendsIdsByName(String screen_name)
      throws WeiboException {
    return User.constructIds(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/friends/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.