Get comments for a post (cursor-paginated)
curl --request GET \
--url https://api.fanvue.com/v1/posts/{uuid}/comments \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/posts/{uuid}/comments"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/posts/{uuid}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"uuid": "550e8400-e29b-41d4-a716-446655440001",
"text": "Great content! Thanks for sharing!",
"user": {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"handle": "sarah",
"displayName": "Sarah Johnson",
"nickname": null,
"isTopSpender": true
},
"createdAt": "2024-01-15T00:00:00.000Z",
"updatedAt": null
}
],
"nextCursor": "k0FQ1m9yZXN0aWdpb3VzLW9wYXF1ZS1jdXJzb3I"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Comments
Get comments for a post (cursor-paginated)
Cursor-paginated list of comments on a specific post, most recent first. Only the post owner can view comments.
Uses keyset cursor pagination: pass the opaque nextCursor from the previous response as cursor. Paging stays stable under concurrent comments.
GET
/
v1
/
posts
/
{uuid}
/
comments
Get comments for a post (cursor-paginated)
curl --request GET \
--url https://api.fanvue.com/v1/posts/{uuid}/comments \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/posts/{uuid}/comments"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/posts/{uuid}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"uuid": "550e8400-e29b-41d4-a716-446655440001",
"text": "Great content! Thanks for sharing!",
"user": {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"handle": "sarah",
"displayName": "Sarah Johnson",
"nickname": null,
"isTopSpender": true
},
"createdAt": "2024-01-15T00:00:00.000Z",
"updatedAt": null
}
],
"nextCursor": "k0FQ1m9yZXN0aWdpb3VzLW9wYXF1ZS1jdXJzb3I"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Required scope
read:post— Read posts, including post details, comments, likes, and tips.
Authorizations
Headers
Query Parameters
Was this page helpful?