Class FeedLikeValue


public class FeedLikeValue
extends AbstractFeedPostValue
change value of the feed like
  • Constructor Details

  • Method Details

    • isPageLike

      public boolean isPageLike()
      returns if the page is liked or a post. if this is a page like you can only fetch the userId of the liking user. Otherwise you can fetch fields like parentId, postId, senderId and so on
      Returns:
      if this is a page like
    • isCommentLike

      public boolean isCommentLike()
      returns true if the liked item is a comment
      Returns:
      true if the liked item is a comment
    • isPostLike

      public boolean isPostLike()
      returns true if the liked item is a post
      Returns:
      true if the liked item is a post
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId​(String userId)
    • getParentId

      public String getParentId()
    • setParentId

      public void setParentId​(String parentId)
    • getCommentId

      public String getCommentId()
    • setCommentId

      public void setCommentId​(String commentId)