Feeds

The community has 3 feeds where posts are stored:

If post review is turned on, the new post will be added in Feed.Reviewing. Once approved, it will be moved to FeedType.Published. If it is declined, it will be moved toFeedType.Declined. If the post review is turned off, the new post will be added immediately in FeedType.Published.

The post review is skipped for posts which are created by community owners or moderators. They will be added in FeedType.Published, bypassing FeedType.Reviewing.

You can access each feed data using the community data.

const liveCommunity = CommunityRepository.communityForId('abc');

liveCommunity.once('dataUpdated', data => {
  data.publishedFeed;
  data.reviewingFeed;
  data.declinedFeed;
});

Feed Post Count

To get the current number of posts in the feed you need to check postCount:

Last updated