addLikeForComment()

This method adds a like for a specified comment on a specified row.

This page discusses:

Arguments

  • rowId: Integer identifying the row for which the comment is assigned.
  • commentId: String identifying the comment.

Return Value

Returns a list-like object containing all likes for the specified comment.

You can use the addLikeForRowComment() method to add likes for either comments or subcomments.

You can obtain commentId values when creating a new comment or when retrieving all comments associated with a specific row.