Flag / Unflag Post
Last updated
Last updated
The SDK provides a way for users to report or flag a post as inappropriate using the flag
method.
This method allows users to notify the community moderators or admins about posts that they believe violate the community guidelines or are otherwise inappropriate. By flagging a post, users can help ensure that the community remains a safe and welcoming place for all members.
This method allows users to quickly determine whether they have previously flagged a post as inappropriate or not. To use this method, users can call the isFlaggedByMe
method with the postId
as a parameter. The method will then return a boolean value indicating whether or not the post has been flagged by the current user.
This method allows users to retract their earlier report if they believe that the flagged post no longer violates the community guidelines or if they mistakenly reported the post. By unflagging a post, users can help ensure that the community moderators or admins can focus their attention on other reported posts that may still require attention.