For You feed is a network setting. Read
getForYouFeedSetting() on the client and only render the surface when the feed is enabled. If the feed is not enabled, the collection reports a feed-disabled error rather than an empty list — AmityForYouFeedDisabledError on TypeScript and Android, or the .forYouFeedDisabled error code on iOS (see below).What the For You feed includes
The backend assembles For You from these content sources, then ranks them for the current user:
The mix between these sources and the ranking applied to them are owned by the backend. The SDK exposes no parameters to weight, filter, or exclude them.
Query the feed
getForYouFeed() is a live collection that takes no query parameters. Page through results with the onNextPage / hasNextPage values from the callback; the default page size is 20 posts.
For You feed is available on TypeScript, iOS, and Android. It is not available in the current Flutter SDK.
Parameters
Read the feed setting
getForYouFeedSetting() is a method on the client that reports whether the network has For You feed enabled. Use it to decide whether to render a For You tab or entry point at all.
Related Topics
For You Feed UIKit
Drop the personalized feed into your app with the prebuilt UIKit component.
Global Feed
Chronological global feed, with no personalization.