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. make - the posts will be ranked in chronological order. Below is the sample code.

    let viewController = AmityGlobalFeedViewController.make()

  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.

    let viewController = AmityGlobalFeedViewController.makeCustomPostRanking()

Last updated