Pinned Post

Pinned posts empower community moderators to highlight key announcements, discussions, or content critical for community engagement. Amity Social Cloud maintains separate collections for pinned posts based on their intended placement, currently supporting default, announcement and global placements.

Currently supporting post pinning via ASC console

Query pinned post

Pinned posts must be viewed first when users enter a community and scroll down the feed. To achieve this, the Amity SDK provides getPinnedPost() function, which offers a separate collection of posts to be rendered at the top of the community feed. This allows the community feed to recognize which posts have been rendered as pinned and optionally exclude those items from the main feed.

Query announcements

Another type of pinned post is an announcement. These posts are tracked separately, similar to default pinned posts but with different behavior. Announcements are typically housed at the top of the community in a separate section, making them easily accessible without forcing users to go through every announcement. This type of pinned post is suitable for multiple important posts that need to be highlighted simultaneously, such as reminders, updates, or informational content.

Global featured posts keep your key content prominently displayed at the top of the main feed, the typical landing page on both web and app platforms. This ensures your announcements reach the entire in-app community, maximizing visibility. The getGlobalPinnedPost() function in the Amity SDK provides a dedicated collection of featured posts that are intended to appear at the top of the global feed, ensuring users see these posts first, regardless of community affiliation.

To maintain a balanced feed with fresh content from your communities, we recommend limiting the number of posts featured globally.

Last updated