Custom URL Patterns
Configure branded URL patterns that match your app’s domain and structure
Multi-Content Support
Generate links for posts, profiles, communities, and live streams
Overview
Content sharing allows users to share links to content from your app:- Custom URL Configuration: Define URL patterns that match your brand
- Multiple Content Types: Support for posts, user profiles, communities, and live streams
- Cross-Platform Support: Generate consistent links across all platforms
URL patterns are configured at the application level and can be customized to
match your app’s domain structure and branding requirements.
Supported Content Types
| Content Type | Description |
|---|---|
| Posts | All post types (text, image, video, clip, etc.) |
| User Profiles | User profile pages |
| Communities | Community pages and profiles |
| Live Streams | Live streaming content |
1
Configure URL Patterns
Set up custom URL patterns in your app configuration
2
Query Share Links
Use the SDK to generate shareable links for content
Implementation
Best Practices
User Experience
User Experience
- Fallback Handling: Provide meaningful fallbacks for invalid or deleted content
- Loading States: Show loading indicators while resolving shared links
- Error Messages: Display clear error messages for failed link opens
- Context Preservation: Maintain user context when opening shared content
Performance
Performance
- Link Caching: Cache generated links to avoid repeated API calls
- Batch Generation: Generate multiple links in batch operations when possible
- Lazy Loading: Generate links only when sharing functionality is accessed
- Error Handling: Implement retry logic for failed link generation
Common Use Cases
- Social Sharing: Enable users to share posts and content on external platforms
- Content Discovery: Allow users to share interesting content with friends
- Community Growth: Share community links to attract new members
- User Onboarding: Share user profiles for networking and connections
- Live Event Promotion: Share live stream links for event promotion
Troubleshooting
Link Generation Failures
Link Generation Failures
Problem: Share links fail to generate or return errorsSolutions:
- Verify URL patterns are properly configured
- Check content ID validity and existence
- Ensure proper authentication and permissions
- Validate network connectivity