AmityFeedRepository to read feed-style post collections. Each feed is a separate SDK entry point over the same content — what changes is who the posts are selected for, and how they are ordered.
For You Feed
Personalized per user. Surfaces the posts each member is most likely to care about — from their communities, follows, public content, and live streams — so the home feed stays relevant instead of showing everything at once. Requires the network setting.
Global Feed
Chronological. The most recent posts come first. Use it for a real-time content stream.
Custom-Ranking Global Feed
Score-sorted. The same global content, ordered by engagement, recency, and updates rather than by time alone.
User & Community Feeds
Scoped to one owner. Query posts for a single user or community, with richer filters.
Choosing a feed
For You feed is a network-level feature and must be enabled for your network before it returns content. The global and custom-ranking feeds are available to every network.
Feed APIs
TypeScript still exports
queryGlobalFeed(), but the SDK source marks it deprecated. Use the live collection APIs for new integrations.Notes
- Use post query APIs when you need a specific user or community feed with richer filters such as tags, review status, or deletion state.
- Dispose live collection subscriptions, notification tokens, and stream subscriptions when the screen is destroyed.
- Ranking is backend-owned on every feed that has it. Do not hardcode ranking assumptions in client UI logic.
Related Topics
Feeds UIKit
Prebuilt newsfeed, global feed, and For You components.
Search Posts
Search posts semantically or by hashtag.