To provide better control and moderation over community posts, the Amity 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.
Supported ✅ (Please wait while we prepare a real example!)
The AmityPost
object within the Amity 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.
Supported ✅ (Please wait while we prepare a real example!)
Supported ✅ (Please wait while we prepare a real example!)
Within the Amity SDK, there are methods available to moderators and creators of a community that allows them to approve or decline posts.
By calling the method, the selected post will be approved and will appear on the community's feed.
Version 6
Beta (v0.0.1)
By calling the method, the selected post will be declined and will disappear from the community's reviewing feed.
Version 6
Beta (v0.0.1)
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 own reviewing posts. Users without moderation permissions will receive only posts they created for the Reviewing and Declined feeds.