Skip to content

Returns the ten members who wrote the most comments within the requested range, each with their comment count.

The range is applied to the comments, so this ranks activity in the window. Fixed at ten results.

Endpoint ​

  • Method: GET

  • Path: /analytics/members/top-commenters

  • Edition: PRO

  • Controller: MembersReportsController@topCommenters

  • Route source: fluent-community-pro/app/Http/Routes/api.php:84

  • Controller source: fluent-community-pro/app/Http/Controllers/MembersReportsController.php

  • Requires the FluentCommunity community-admin permission (or a WordPress super admin).

  • Requires FluentCommunity Pro.

Live sample

The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.

GET List Top Commenters Report​

GET
/analytics/members/top-commenters

Returns the ten members who wrote the most comments within the requested range, each with their comment count.

Controller: MembersReportsController@topCommenters
Route source: fluent-community-pro/app/Http/Routes/api.php:84

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Responses​

Successful response

application/json
JSON
{
  
"data": [
  
  
{
  
  
  
"avatar": "string",
  
  
  
"badge": "string",
  
  
  
"comments_count": "string",
  
  
  
"created_at": "string",
  
  
  
"display_name": "string",
  
  
  
"id": "string",
  
  
  
"is_verified": 0,
  
  
  
"last_activity": "string",
  
  
  
"meta": {
  
  
  
  
"cover_photo": "string",
  
  
  
  
"short_description_rendered": "string",
  
  
  
  
"social_links": {
  
  
  
  
  
"fb": "string",
  
  
  
  
  
"instagram": "string",
  
  
  
  
  
"linkedin": "string",
  
  
  
  
  
"twitter": "string",
  
  
  
  
  
"youtube": "string"
  
  
  
  
},
  
  
  
  
"website": "string"
  
  
  
},
  
  
  
"permalink": "string",
  
  
  
"short_description": "string",
  
  
  
"status": "string",
  
  
  
"total_points": 0,
  
  
  
"updated_at": "string",
  
  
  
"user_id": 0,
  
  
  
"username": "string"
  
  
}
  
]
}

Playground​

Authorization

Samples​

Powered by VitePress OpenAPI

FluentCommunity developer documentation