social.plus SDK provides a powerful Feed feature that allows users to stay informed, communicate, and express themselves through ranked posts. The Feed system creates an engaging timeline experience with intelligent content curation and multiple feed types to suit different user needs. The Feed feature is comprised of a collection of posts, with three distinct types of feeds available to users: User Feed, Community Feed, and Global Feed. By providing these distinct feed types, the SDK enables users to customize their content experience, ensuring they receive relevant and engaging content that reflects their interests and preferences.

Feed Types

User Feed

A collection of posts curated for an individual user’s timeline, providing content they generate.

Community Feed

Posts generated by members of a particular community, fostering connection and engagement within specific groups.

Global Feed

Aggregated content from both User and Community feeds, providing a comprehensive view of all relevant content in the user’s network.

Feed Type Details

Ranking Systems

social.plus SDK offers two distinct ranking mechanisms for Global Feed to provide flexible content curation options:

Chronological Ranking

Traditional Time-Based Sorting
  • Posts ordered by creation time
  • Newer posts appear first
  • Simple, predictable ordering

Custom Post Ranking

Smart Engagement-Based Sorting
  • Advanced scoring algorithm
  • Factors in engagement, timing, and updates
  • Promotes meaningful interactions
  • Optimized for content discovery

Custom Post Ranking

Enhanced Content Discovery: Our custom post ranking algorithm uses a smarter ranking system that supports a score-sorting mechanism, focusing on “meaningful interactions” to surface the most relevant and engaging content.

How Custom Ranking Works

The custom post ranking algorithm considers multiple factors to determine post visibility and ordering:

Configuration

If you need to tailor the ranking algorithm to your specific requirements based on our avilable parameters, you can follow these steps:
1

Contact Support

Reach out to social.plus Support with your ranking requirements
2

Review Process

Our team will review your use case and discuss optimal ranking parameters
3

Implementation

Custom ranking logic will be applied to your network configuration
4

Testing

Validate the new ranking behavior in your development environment

Current Limitations

Important Considerations: Please be aware of these current limitations with custom post ranking:
  1. Global Feed Delay: While newly created posts appear immediately in User Feed, there may be a momentary delay before they appear in Global Feed due to ranking calculations.
  2. Ranking Formula Updates: Currently cannot be updated via Admin Console - requires social.plus Support contact for formula validation and implementation.
  3. Post Visibility Limit: Only up to 20 posts from each user or community that you follow are visible in the global feed.

Implementation

Conventional Global Feed Query

Simple Chronological Ordering: The conventional method returns posts in chronological order, providing a straightforward way to view the most recent content.
The system does not guarantee the visibility of older posts — only the 20 most recent posts in a community are visible in the global feed.
var token: AmityNotificationToken?

func getCommunityFeedExample() {
    let feedCollection = feedRepository.getGlobalFeed()
    token = feedCollection.observe { collection, change, error in
        // React to changes here
    }
}

Custom Post Ranking Query

Smart Content Curation: Custom post ranking provides a smarter global feed that supports score-sorting mechanism, ensuring posts are presented in order of relevance with the most engaging content at the top.
var token: AmityNotificationToken?

func getCommunityFeedExample() {
    let feedCollection = feedRepository.getCustomRankingGlobalFeed()
    token = feedCollection.observe { collection, change, error in
        // React to changes here
    }
}