Skip to main content

Reply to Post

warning

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

Overview​

The Reply to Post endpoint posts a top-level comment on a post. This allows you to engage with your audience by leaving comments on your social media posts via the API.

Base URL:

https://feed.oneupapp.io

Endpoint​

POST /api/reply-to-post

Request Parameters​

ParameterRequiredTypeDescription
apiKeyYesstringYour personal API key generated from the API Access page. Passed as a query parameter.
platformYesstringThe social platform: facebook, instagram, tiktok, youtube, threads, linkedin, or bluesky.
post_idYesstringThe post ID to comment on.
commentYesstringThe comment text.
social_account_idYesstringThe social account ID to comment as.

Sample Request​

curl --location --request POST \
"https://feed.oneupapp.io/api/reply-to-post?apiKey=YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"platform": "facebook",
"post_id": "104040148726689_946637334956407",
"comment": "Hello from API",
"social_account_id": "104040148726689"
}'

Sample Response​

{
"message": "OK",
"error": false,
"data": {
"comment_id": "comment_123",
"post_id": "104040148726689_123456",
"platform": "facebook",
"social_account_id": "104040148726689",
"comment": {
"platform": "facebook",
"post_id": "104040148726689_123456",
"comment_id": "comment_123",
"parent_id": null,
"child_count": 0,
"user_id": "104040148726689",
"user_name": "My Page",
"profile_picture": "https://...",
"content": "Comment text",
"bg_color": "#ffffff",
"has_replied": false,
"metadata": {},
"can_comment": true,
"published_at": "2025-01-01T12:00:00.000000Z",
"is_complete": false
}
}
}

Response Fields​

FieldDescription
comment_idThe ID of the newly created comment.
post_idThe post ID the comment was made on.
platformThe platform name.
social_account_idThe social account ID used to post the comment.
commentFull comment object with all details.

Comment Object​

FieldDescription
platformThe platform name.
post_idThe platform-specific post ID.
comment_idThe platform-specific comment ID.
parent_idThe parent comment ID (null for top-level comments).
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 comment 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.

Supported Platforms​

facebook, instagram, tiktok, youtube, threads, linkedin, bluesky

✅ Result: You have successfully posted a comment on the post!