Class IgComment

All Implemented Interfaces:
Serializable

public class IgComment
extends FacebookType
Represents a Instagram Comment object
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getReplies

    • addReply

      public boolean addReply​(IgComment reply)
    • removeReply

      public boolean removeReply​(IgComment reply)
    • getHidden

      public Boolean getHidden()
      Whether the comment is hidden
    • setHidden

      public void setHidden​(Boolean hidden)
      Whether the comment is hidden
    • getLikeCount

      public Long getLikeCount()
      Number of likes on the comment
    • setLikeCount

      public void setLikeCount​(Long likeCount)
      Number of likes on the comment
    • getMedia

      public IgMedia getMedia()
      Media on which the comment is made
    • setMedia

      public void setMedia​(IgMedia media)
      Media on which the comment is made
    • getText

      public String getText()
      Text of the comment
    • setText

      public void setText​(String text)
      Text of the comment
    • getTimestamp

      public Date getTimestamp()
      Timestamp of comment
    • setTimestamp

      public void setTimestamp​(Date timestamp)
      Timestamp of comment
    • getUser

      public IgUser getUser()
      User who made the comment
    • setUser

      public void setUser​(IgUser user)
      User who made the comment
    • getUsername

      public String getUsername()
      User will only be returned when queried by owner of comment. Otherwise, username is the only field that will be returned.
    • setUsername

      public void setUsername​(String username)
      User will only be returned when queried by owner of comment. Otherwise, username is the only field that will be returned.