Flag / Unflag Post
Last updated
Was this helpful?
Last updated
Was this helpful?
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 with reason that we provided, users can help ensure that the community remains a safe and welcoming place for all members.
CommunityGuidelines
Against community guidelines
HarassmentOrBullying
Harassment or bullying
SelfHarmOrSuicide
Self-harm or suicide
ViolenceOrThreateningContent
Violence or threatening content
SellingRestrictedItems
Selling and promoting restricted items
SexualContentOrNudity
Sexual message or nudity
SpamOrScams
Spam or scams
FalseInformation
False information or misinformation
Others
Optional explanation (Max. 300 chars)
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.