Skip to main content

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

ParameterRequiredTypeDescription
apiKeyYesstringYour personal API key generated from the API Access page. Passed as a query parameter.
platformYesstringThe social platform name.
post_idYesstringThe post ID.
parent_comment_idYesstringThe ID of the parent comment to reply to.
commentYesstringThe reply text.
social_account_idYesstringThe 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

FieldDescription
comment_idThe ID of the newly created reply.
post_idThe post ID the reply was made on.
platformThe platform name.
social_account_idThe social account ID used to post the reply.
parent_comment_idThe ID of the parent comment being replied to.
commentComment object with reply details.

Error Responses

StatusWhen
401Missing or invalid apiKey.
403Resource doesn't belong to the authorized user.
500Platform API failure or unexpected error.

Result: You have successfully replied to the comment!