Package org.jinstagram.entity.users.feed

Examples of org.jinstagram.entity.users.feed.UserFeed


    Preconditions.checkNotNull(query, "search query cannot be null.");

    Map<String, String> params = new HashMap<String, String>();
    params.put(QueryParam.SEARCH_QUERY, query);

    UserFeed userFeed = createInstagramObject(Verbs.GET, UserFeed.class, Methods.USERS_SEARCH, params);

    return userFeed;
  }
View Full Code Here


        if(count > 0) {
            params.put(QueryParam.COUNT, String.valueOf(count));
        }

        UserFeed userFeed = createInstagramObject(Verbs.GET, UserFeed.class, Methods.USERS_SEARCH, params);

        return userFeed;
    }
View Full Code Here

   */
  public UserFeed getUserFollowList(String userId) throws InstagramException {
    Preconditions.checkEmptyString(userId, "userId cannot be null or empty.");

    String apiMethod = String.format(Methods.USERS_ID_FOLLOWS, userId);
    UserFeed userFeed = createInstagramObject(Verbs.GET, UserFeed.class, apiMethod, null);

    return userFeed;
  }
View Full Code Here

   */
  public UserFeed getUserFollowedByList(String userId) throws InstagramException {
    Preconditions.checkEmptyString(userId, "userId cannot be null or empty.");

    String apiMethod = String.format(Methods.USERS_ID_FOLLOWED_BY, userId);
    UserFeed userFeed = createInstagramObject(Verbs.GET, UserFeed.class, apiMethod, null);

    return userFeed;
  }
View Full Code Here

   *
   * @return a UserFeed object.
   * @throws InstagramException if any error occurs.
   */
  public UserFeed getUserRequestedBy() throws InstagramException {
    UserFeed userFeed = createInstagramObject(Verbs.GET, UserFeed.class, Methods.USERS_SELF_REQUESTED_BY, null);

    return userFeed;
  }
View Full Code Here

TOP

Related Classes of org.jinstagram.entity.users.feed.UserFeed

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.