Klasse IgComment

Alle implementierten Schnittstellen:
Serializable

public class IgComment extends FacebookType
Represents a Instagram Comment object
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • 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
    • getFrom

      public IgFrom getFrom()
      An object containing: id — IGSID of the Instagram user who created the IG Comment. username — Username of the Instagram user who created the IG Comment.
    • setFrom

      public void setFrom(IgFrom from)
      An object containing: id — IGSID of the Instagram user who created the IG Comment. username — Username of the Instagram user who created the IG Comment.
    • 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

      Veraltet.
      with Graph API 12 or December 13, 2021 for all versions
      User who made the comment
    • setUser

      @Deprecated public void setUser(IgUser user)
      Veraltet.
      with Graph API 12 or December 13, 2021 for all versions
      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.
    • getParentId

      public String getParentId()
      ID of the parent IG Comment if this comment was created on another IG Comment (i.e. a reply to another comment.
    • setParentId

      public void setParentId(String parentId)
      ID of the parent IG Comment if this comment was created on another IG Comment (i.e. a reply to another comment.