Package com.restfb.types.instagram
Class IgComment
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.instagram.IgComment
- All Implemented Interfaces:
Serializable
Represents a Instagram Comment
object
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFrom()An object containing: id — IGSID of the Instagram user who created the IG Comment.Whether the comment is hiddenThe ID for Instagram comment that was created for Marketing API endpoints for v21.0 and older.Number of likes on the commentgetMedia()Media on which the comment is madeID of the parent IG Comment if this comment was created on another IG Comment (i.e. a reply to another comment.Get a list of IG Comments on the IG Comment; Create an IG Comment on an IG Comment.getText()Text of the commentTimestamp of commentgetUser()Deprecated.with Graph API 12 or December 13, 2021 for all versionsUser will only be returned when queried by owner of comment.booleanremoveReply(IgComment reply) voidAn object containing: id — IGSID of the Instagram user who created the IG Comment.voidWhether the comment is hiddenvoidsetLegacyInstagramCommentId(String legacyInstagramCommentId) The ID for Instagram comment that was created for Marketing API endpoints for v21.0 and older.voidsetLikeCount(Long likeCount) Number of likes on the commentvoidMedia on which the comment is madevoidsetParentId(String parentId) ID of the parent IG Comment if this comment was created on another IG Comment (i.e. a reply to another comment.voidText of the commentvoidsetTimestamp(Date timestamp) Timestamp of commentvoidDeprecated.with Graph API 12 or December 13, 2021 for all versionsvoidsetUsername(String username) User will only be returned when queried by owner of comment.Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
IgComment
public IgComment()
-
-
Method Details
-
getReplies
Get a list of IG Comments on the IG Comment; Create an IG Comment on an IG Comment. -
addReply
-
removeReply
-
getHidden
Whether the comment is hidden -
setHidden
Whether the comment is hidden -
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
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
Number of likes on the comment -
setLikeCount
Number of likes on the comment -
getMedia
Media on which the comment is made -
setMedia
Media on which the comment is made -
getText
Text of the comment -
setText
Text of the comment -
getTimestamp
Timestamp of comment -
setTimestamp
Timestamp of comment -
getUser
Deprecated.with Graph API 12 or December 13, 2021 for all versionsUser who made the comment -
setUser
Deprecated.with Graph API 12 or December 13, 2021 for all versionsUser who made the comment -
getUsername
User will only be returned when queried by owner of comment. Otherwise, username is the only field that will be returned. -
setUsername
User will only be returned when queried by owner of comment. Otherwise, username is the only field that will be returned. -
getParentId
ID of the parent IG Comment if this comment was created on another IG Comment (i.e. a reply to another comment. -
setParentId
ID of the parent IG Comment if this comment was created on another IG Comment (i.e. a reply to another comment. -
getLegacyInstagramCommentId
The ID for Instagram comment that was created for Marketing API endpoints for v21.0 and older. -
setLegacyInstagramCommentId
The ID for Instagram comment that was created for Marketing API endpoints for v21.0 and older.
-