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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getFrom()
An object containing: id — IGSID of the Instagram user who created the IG Comment.Whether the comment is hiddenNumber 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.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.boolean
removeReply
(IgComment reply) void
An object containing: id — IGSID of the Instagram user who created the IG Comment.void
Whether the comment is hiddenvoid
setLikeCount
(Long likeCount) Number of likes on the commentvoid
Media on which the comment is madevoid
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.void
Text of the commentvoid
setTimestamp
(Date timestamp) Timestamp of commentvoid
Deprecated.with Graph API 12 or December 13, 2021 for all versionsvoid
setUsername
(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, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
IgComment
public IgComment()
-
-
Method Details
-
getReplies
-
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.
-