Package com.restfb.types.webhook
Class FeedLikeValue
java.lang.Object
com.restfb.types.webhook.ChangeValue
com.restfb.types.webhook.base.BaseChangeValue
com.restfb.types.webhook.base.AbstractFeedPostValue
com.restfb.types.webhook.FeedLikeValue
change value of the feed like
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.webhook.ChangeValue
ChangeValue.Verb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
returns true if the liked item is a commentboolean
returns if the page is liked or a post.boolean
returns true if the liked item is a postvoid
setCommentId
(String commentId) void
setParentId
(String parentId) void
Methods inherited from class com.restfb.types.webhook.base.AbstractFeedPostValue
getFrom, getPostId, setPostId
Methods inherited from class com.restfb.types.webhook.base.BaseChangeValue
getCreatedTime, getItem, getVerb, getVerbAsString, setCreatedTime, setItem, setVerb, setVerbAsString
Methods inherited from class com.restfb.types.webhook.ChangeValue
convertChangeValue, equals, hashCode, isWhatsapp, toString
-
Constructor Details
-
FeedLikeValue
public FeedLikeValue()
-
-
Method Details
-
isPageLike
returns if the page is liked or a post. if this is a page like you can only fetch theuserId
of the liking user. Otherwise you can fetch fields likeparentId
,postId
,senderId
and so on- Returns:
- if this is a page like
-
isCommentLike
returns true if the liked item is a comment- Returns:
- true if the liked item is a comment
-
isPostLike
returns true if the liked item is a post- Returns:
- true if the liked item is a post
-
getUserId
-
setUserId
-
getParentId
-
setParentId
-
getCommentId
-
setCommentId
-