Skip to main content

Fetch Comment Replies

warning

Comment management is not available on the Starter plan. Upgrade to Intermediate, Growth or Business plan to access this endpoint.

Overview

The Fetch Comment Replies endpoint returns child comments (replies) for a specific parent comment. It checks the database first, then fetches from the platform API if none are found. This is useful for viewing full conversation threads.

Base URL:

https://feed.oneupapp.io

Endpoint

GET /api/fetch-comment-replies

Request Parameters

ParameterRequiredDescription
apiKeyYesYour personal API key generated from the API Access page.
comment_idYesThe parent comment ID to fetch replies for.

Supported Platforms for API Fetch

Facebook, TikTok, YouTube, LinkedIn, Bluesky

Sample Request

curl --location --request GET \
"https://feed.oneupapp.io/api/fetch-comment-replies?apiKey=YOUR_API_KEY&comment_id=123"

Sample Response

{
"message": "OK",
"error": false,
"data": [
{
"platform": "facebook",
"post_id": "104040148726689_123456",
"comment_id": "reply_456",
"child_count": 0,
"user_id": "104040148726689",
"user_name": "My Page",
"profile_picture": "https://...",
"content": "Reply text",
"bg_color": "#ffffff",
"has_replied": false,
"metadata": {},
"can_comment": true,
"published_at": "2025-01-01T12:05:00.000000Z",
"is_complete": false
}
]
}

Response Fields

FieldDescription
platformThe platform name.
post_idThe platform-specific post ID.
comment_idThe platform-specific comment ID.
child_countNumber of replies to this comment.
user_idThe commenter's user ID on the platform.
user_nameThe commenter's display name.
profile_pictureURL to the commenter's profile picture.
contentThe reply text.
bg_colorBackground color for the comment.
has_repliedWhether the account has replied to this comment.
metadataAdditional metadata object.
can_commentWhether a reply can be posted to this comment.
published_atISO 8601 timestamp of when the comment was published.
is_completeWhether the comment is marked as complete in the UI.

Error Responses

The following error responses apply to all Managing Comments endpoints:

StatusWhen
401Missing or invalid apiKey.
403Resource doesn't belong to the authorized user.
404Account, comment, or post not found.
422Invalid or missing parameters.
500Platform API failure or unexpected error.

Result: You have successfully retrieved the replies for the comment!