Global Feed
This component shows the global feed.

Features

Feature
Description
Global feed
Scroll vertically to see a list of posts from the global feed.

Usage

You can use either of these two methods:
  1. 1.
    make - the posts will be ranked in chronological order. Below is the sample code.
    1
    let viewController = AmityGlobalFeedViewController.make()
    Copied!
  2. 2.
    makeCustomPostRanking - the posts will be ranked according to a score-sorting mechanism. Refer to Custom Post Ranking for more information about this feature. You can retrieve your global feed sorted by ranking score with this code.
    1
    let viewController = AmityGlobalFeedViewController.makeCustomPostRanking()
    Copied!
Export as PDF
Copy link