Package org.jinstagram.entity.likes

Examples of org.jinstagram.entity.likes.LikesFeed


   * @return a LikesFeed object.
   * @throws InstagramException if any error occurs.
   */
  public LikesFeed getUserLikes(String mediaId) throws InstagramException {
    String apiMethod = String.format(Methods.LIKES_BY_MEDIA_ID, mediaId);
    LikesFeed feed = createInstagramObject(Verbs.GET, LikesFeed.class, apiMethod, null);

    return feed;
  }
View Full Code Here


   * @return a LikesFeed object.
   * @throws InstagramException if any error occurs.
   */
  public LikesFeed setUserLike(String mediaId) throws InstagramException {
    String apiMethod = String.format(Methods.LIKES_BY_MEDIA_ID, mediaId);
    LikesFeed feed = createInstagramObject(Verbs.POST, LikesFeed.class, apiMethod, null);

    return feed;
  }
View Full Code Here

   * @return a LikesFeed object.
   * @throws InstagramException if any error occurs.
   */
  public LikesFeed deleteUserLike(String mediaId) throws InstagramException {
    String apiMethod = String.format(Methods.LIKES_BY_MEDIA_ID, mediaId);
    LikesFeed feed = createInstagramObject(Verbs.DELETE, LikesFeed.class, apiMethod, null);

    return feed;
  }
View Full Code Here

TOP

Related Classes of org.jinstagram.entity.likes.LikesFeed

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.