Users & Profiles
Users & Profiles
User accounts, profiles, and social graph
Overview
The SDK provides two resources for user data:
r.users— Core user data: get authenticated user, look up users by ID, view followers/following.r.profiles— Extended profiles: search, update bio/image, follow/unfollow, leaderboard.
User methods (r.users)
Profile methods (r.profiles)
Get the current user
Via r.users.me()
Returns: SingleResponse<User>
Via r.profiles.me()
Returns the full profile including email verification, privacy settings, and role.
Returns: SingleResponse<ProfileMe>
Look up a user
By ID
By username
Search profiles
Parameters:
List profiles
Update profile
Update the authenticated user’s profile.
Update fields:
Social graph
Follow a user
Unfollow a user
Check if following
List followers
List following
Leaderboard
Get users ranked by engagement (posts + reactions).
Returns: PaginatedResponse<LeaderboardEntry>