Trending Communities
Fetch communities from the trending endpoint
Recommended Communities
Fetch communities from the recommended endpoint
The ranking logic is owned by the backend service. The client SDK exposes methods to request and render the returned communities.
Parameters
Trending Communities
ThegetTrendingCommunities() method fetches communities from the trending endpoint. TypeScript exposes a Live Collection with pagination options, iOS exposes a Live Collection, Android returns a Flowable<List<AmityCommunity>>, and Flutter returns a Future<List<AmityCommunity>>.
Recommended Communities
ThegetRecommendedCommunities() method fetches communities from the recommended endpoint. Use it when your discovery UI needs a backend-curated list instead of a filter-based query.
Best Practices
User Experience Guidelines
- Loading States: Show skeleton screens during discovery data fetching
- Empty States: Provide fallback content when no recommendations are available
- Action Feedback: Give immediate feedback when users join discovered communities
Performance Optimization
- Pagination: Use TypeScript pagination options when building longer discovery feeds
- Image Optimization: Preload community avatars for smooth scrolling
- Background Updates: Refresh discovery data in the background
Related Topics
Query Communities
Advanced community search and filtering capabilities
Join Community
Implement community membership actions from discovery
Community Categories
Learn about community organization for better recommendations
Get Community Details
Display detailed community information before joining