curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments/{comment_id}/like \
--header 'Authorization: Bearer <token>'
{
"data": {
"success": true,
"isLiked": true,
"likesCount": 1
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999863,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 995,
"remaining_day": 49870
}
}
}
Like a comment on one of your posts.
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments/{comment_id}/like \
--header 'Authorization: Bearer <token>'
{
"data": {
"success": true,
"isLiked": true,
"likesCount": 1
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999863,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 995,
"remaining_day": 49870
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
The ID of the post to which the comment belongs.
The ID of the comment to like.
The response is of type object
.