cURL
curl --request POST \ --url https://api.replyke.com/api/v6/:projectId/api/v7/users/:userId/follow
{ "id": "<string>", "followerId": "<string>", "followedId": "<string>", "createdAt": "<string>" }
Follow a user by their ID
201
Self-Follow — 400
{ "error": "A user cannot follow themselves.", "code": "follow/self-follow" }
User Not Found — 404
{ "error": "One or both users involved in the follow do not exist.", "code": "follow/user-not-found" }
Already Following — 409
{ "error": "Follow relationship already exists.", "code": "follow/already-exists" }
useFollowManager