UserRepository to check the current relationship status between two users (following, pending, none, or blocked) and retrieve follower, following, and pending request counts.
Connection Status
Returns one of four statuses: following, pending, none, or blocked
Connection Counters
Returns follower count, following count, and pending request count for any user
Connection Status Types
Available Connection Statuses:| Status | Description | User Action Available |
|---|---|---|
following | Active connection established | Can unfollow |
pending | Follow request sent, awaiting approval | Can withdraw request |
none | No relationship exists | Can send follow request |
blocked | User has been blocked | Can unblock user |
Following Count
Total number of users that the target user is following
Follower Count
Total number of users who are following the target user
Pending Count
Total number of follow requests the target user has received but not yet processed
Get User Follow Information
Related Topics
Follow/Unfollow User
Learn how to implement basic follow and unfollow functionality
Accept/Decline Requests
Handle incoming follow requests with approval workflows
Follower Lists
Retrieve and display follower and following lists for users