Examples of MediaCommentResponse


Examples of org.jinstagram.entity.comments.MediaCommentResponse

    Map<String, String> params = new HashMap<String, String>();

    params.put(QueryParam.TEXT, text);

    String apiMethod = String.format(Methods.MEDIA_COMMENTS, mediaId);
    MediaCommentResponse feed = createInstagramObject(Verbs.POST, MediaCommentResponse.class, apiMethod, params);

    return feed;
  }
View Full Code Here

Examples of org.jinstagram.entity.comments.MediaCommentResponse

   * @return a MediaCommentResponse feed.
   * @throws InstagramException if any error occurs.
   */
  public MediaCommentResponse deleteMediaCommentById(String mediaId, String commentId) throws InstagramException {
    String apiMethod = String.format(Methods.DELETE_MEDIA_COMMENTS, mediaId, commentId);
    MediaCommentResponse feed = createInstagramObject(Verbs.DELETE, MediaCommentResponse.class, apiMethod, null);

    return feed;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.