Flag / Unflag Post

Before flagging and unflagging a post, or checking if the post is flagged, the related post must be fetched from the server first using either of these methods:

Flag Post

You can report or flag a post as inappropriate using the flag method. The required parameter is the post ID, which is a string.

Check for isFlaggedByMe

The isFlaggedByMe method checks if a post has been flagged by the current user. The required parameter is the post ID, which is a string.

Unflag Post

You can unflag or revoke the report for a post using the unflag method. The required parameter is the post ID, which is a string.

Last updated