Social connection between users in the ContactsManager SDK
The FollowRelationship
model represents a social connection between two users in the ContactsManager ecosystem, where one user follows another. This model is the foundation for social features like activity feeds and user discovery.
id: String
- Unique identifier for the follow relationshipfollowerId: String
- ID of the user who is followingfollowedId: String
- ID of the user being followeduserId: String
- External user ID of the followed usercreatedAt: Date
- When the follow relationship was createdfollower: CanonicalContact?
- Canonical profile of the followerfollowed: CanonicalContact?
- Canonical profile of the followed userlocalContact: Contact?
- Local device contact data if availableThe SDK provides several methods to work with follow relationships:
These methods enable implementation of rich social features in your app, such as “Follow” buttons, follower lists, and personalized content feeds.