Post Review
Last updated
Last updated
To provide better control and moderation over community posts, the Social Plus SDK includes a feature that allows community owners to review and approve posts before they appear on the community's feed. This feature allows for a more streamlined and organized approach to managing community content. With Post Review enabled, any post created within a community will first be placed in a Reviewing feed. After approval, it will be moved to the Published feed, while declined posts will be moved to the Declined feed.
reviewing
- When a post is created in a community with Post Review enabled, it is initially placed in the Reviewing feed.
published
- If a post is approved by a moderator or creator, it is moved to the Published feed.
declined
- If a post is declined by a moderator or creator, it is moved to the Declined feed.
The AmityPost
object within the Social Plus SDK provides a method that allows users to retrieve the feed type of a post by calling post.getFeedType()
. This method enables developers to easily determine the current feed that a post belongs to. Understanding the feed type of a post is important for implementing moderation features, as different feeds have different access and permission levels.
Within the Social Plus SDK, there are methods available to moderators and creators of a community that allow them to approve or decline posts.
By calling the method, the selected post will be approved and will appear on the community's feed.
By calling the method, the selected post will be declined and will disappear from the community's reviewing feed.
To retrieve a list of posts from the Reviewing feed, users with the AmityPermission.REVIEW_COMMUNITY_POST
can retrieve all posts, while users without this permission can only retrieve their reviewing posts. Users without moderation permissions will receive only posts they created for the Reviewing and Declined feeds.