curl
curl -X GET "https://api.linkvite.io/v1/comments/<id>/likes" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.comments.getLikes('<id>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Comments.GetLikes(ctx, "<id>", nil){
"data": {
"pagination": {
"last_page": 123,
"limit": 123,
"page": 123,
"total": 123,
"q": "<string>"
},
"profiles": [
{
"avatar": "<string>",
"id": "<string>",
"name": "<string>",
"username": "<string>"
}
]
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Comments
Get comment likes
Scope: comments:read · Rate limit: 250 requests per 5 minutes
GET
/
v1
/
comments
/
{id}
/
likes
curl
curl -X GET "https://api.linkvite.io/v1/comments/<id>/likes" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.comments.getLikes('<id>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Comments.GetLikes(ctx, "<id>", nil){
"data": {
"pagination": {
"last_page": 123,
"limit": 123,
"page": 123,
"total": 123,
"q": "<string>"
},
"profiles": [
{
"avatar": "<string>",
"id": "<string>",
"name": "<string>",
"username": "<string>"
}
]
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Was this page helpful?