Reply to Comment
warning
Comment management is not available on the Starter plan. Upgrade to Intermediate, Growth or Business plan to access this endpoint.
Overview
The Reply to Comment endpoint replies to an existing comment on a social media platform. This allows you to engage in conversations by replying directly to specific comments on your posts via the API.
Base URL:
https://feed.oneupapp.io
Endpoint
POST /api/reply-to-comment
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
apiKey | Yes | string | Your personal API key generated from the API Access page. Passed as a query parameter. |
platform | Yes | string | The social platform name. |
post_id | Yes | string | The post ID. |
parent_comment_id | Yes | string | The ID of the parent comment to reply to. |
comment | Yes | string | The reply text. |
social_account_id | Yes | string | The social account ID. |
Sample Request
curl --location --request POST \
"https://feed.oneupapp.io/api/reply-to-comment?apiKey=YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"platform": "facebook",
"post_id": "104040148726689_946637334956407",
"parent_comment_id": "999",
"comment": "Reply from API",
"social_account_id": "104040148726689"
}'
Sample Response
{
"message": "OK",
"error": false,
"data": {
"comment_id": "123",
"post_id": "456",
"platform": "facebook",
"social_account_id": "789",
"parent_comment_id": "999",
"comment": {}
}
}
Response Fields
| Field | Description |
|---|---|
comment_id | The ID of the newly created reply. |
post_id | The post ID the reply was made on. |
platform | The platform name. |
social_account_id | The social account ID used to post the reply. |
parent_comment_id | The ID of the parent comment being replied to. |
comment | Comment object with reply details. |
Error Responses
| Status | When |
|---|---|
401 | Missing or invalid apiKey. |
403 | Resource doesn't belong to the authorized user. |
500 | Platform API failure or unexpected error. |
✅ Result: You have successfully replied to the comment!