Reply to Post
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 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
| 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: facebook, instagram, tiktok, youtube, threads, linkedin, bluesky, or reddit. |
post_id | Yes | string | The post ID to comment on. |
comment | Yes | string | The comment text. |
social_account_id | Yes | string | The 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
| Field | Description |
|---|---|
comment_id | The ID of the newly created comment. |
post_id | The post ID the comment was made on. |
platform | The platform name. |
social_account_id | The social account ID used to post the comment. |
comment | Full comment object with all details. |
Comment Object
| Field | Description |
|---|---|
platform | The platform name. |
post_id | The platform-specific post ID. |
comment_id | The platform-specific comment ID. |
parent_id | The parent comment ID (null for top-level comments). |
child_count | Number of replies to this comment. |
user_id | The commenter's user ID on the platform. |
user_name | The commenter's display name. |
profile_picture | URL to the commenter's profile picture. |
content | The comment text. |
bg_color | Background color for the comment. |
has_replied | Whether the account has replied to this comment. |
metadata | Additional metadata object. |
can_comment | Whether a reply can be posted to this comment. |
published_at | ISO 8601 timestamp of when the comment was published. |
is_complete | Whether the comment is marked as complete in the UI. |
Supported Platforms
facebook, instagram, tiktok, youtube, threads, linkedin, bluesky, reddit
✅ Result: You have successfully posted a comment on the post!