Package org.jinstagram.entity.relationships

Examples of org.jinstagram.entity.relationships.RelationshipFeed


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

    String apiMethod = String.format(Methods.USERS_ID_RELATIONSHIP, userId);
    RelationshipFeed feed = createInstagramObject(Verbs.GET, RelationshipFeed.class, apiMethod, null);

    return feed;
  }
View Full Code Here


    String apiMethod = String.format(Methods.USERS_ID_RELATIONSHIP, userId);
    Map<String, String> params = new HashMap<String, String>();

    params.put(QueryParam.ACTION, relationship.toString());

    RelationshipFeed feed = createInstagramObject(Verbs.POST, RelationshipFeed.class, apiMethod, params);

    return feed;
  }
View Full Code Here

TOP

Related Classes of org.jinstagram.entity.relationships.RelationshipFeed

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.