Get Comment
Last updated
Last updated
The Social Plus SDK provides functionality that allows you to work with social features in your application, including the ability to retrieve a comment. In this section, we'll explore how to use the Social Plus SDK to retrieve a single comment from your application. By using a specific function provided by the SDK, you can retrieve a comment based on its ID, which provides a convenient way to access specific comment data. The retrieved result is returned as a live object of a comment. For more information on live objects, please refer to Live Objects/Collections.
To retrieve multiple comments, you can use getCommentByIds
method provided by CommentRepository
. This method accepts a collection of commentId
as a parameter and returns a Live Collection ofAmityComment
.
The functionality isn't currently supported by this SDK.