Package weibo4j.model

Examples of weibo4j.model.PostParameter


      Integer cursor) throws WeiboException {
    return User.constructIds(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/followers/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 UserWapper getFollowersActive(String uid) throws WeiboException {
    return User.constructWapperUsers(Weibo.client.get(
        WeiboConfig.getValue("baseURL")
            + "friendships/followers/active.json",
        new PostParameter[] { new PostParameter("uid", uid) }));
  }
View Full Code Here

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

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

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

   */
  public User createFriendshipsByName(String screen_name)
      throws WeiboException {
    return new User(Weibo.client.post(
        WeiboConfig.getValue("baseURL") + "friendships/create.json",
        new PostParameter[] { new PostParameter("screen_name",
            screen_name) }).asJSONObject());
  }
View Full Code Here

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

   */
  public User destroyFriendshipsDestroyByName(String screen_name)
      throws WeiboException {
    return new User(Weibo.client.post(
        WeiboConfig.getValue("baseURL") + "friendships/destroy.json",
        new PostParameter[] { new PostParameter("screen_name",
            screen_name) }).asJSONObject());
  }
View Full Code Here

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

   * @since JDK 1.5
   */
  public User showUserByScreenName(String screen_name) throws WeiboException {
    return new User(Weibo.client.get(
        WeiboConfig.getValue("baseURL") + "users/show.json",
        new PostParameter[] { new PostParameter("screen_name",
            screen_name) }).asJSONObject());
  }
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.