Get User Following Count
Endpoint
URL: api.replyke.com/api/v6/:projectId/users/:userId/following-count
Method: GET
Authentication Required: No
Description
Get the count of accounts a specific user follows. This is a public endpoint that does not require authentication.
Request
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
userId | string | Yes | ID of the user to get following count for |
Headers
None
Body Parameters
None
Example Request
GET /users/user-uuid-123/following-count
Response
Success Response (200 OK)
{
"count": 156
}
Error Responses
Server Error (500 Internal Server Error)
{
"error": "Internal server error",
"code": "follow/server-error"
}
Notes
- This endpoint does not require authentication
- Returns the total number of users that the specified user is following
- Public endpoint accessible to all users
- Rate limiting: 100 requests per 5 minutes