Comments
Reply to a comment
POST
Posts the reply on the platform as the account, and marks the comment replied.
Requires the write scope.
bearerheader
AuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringFormat
uuidTebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
application/json- body
text*stringLength
1 <= length <= 2200The comment.
application/json- response
id*stringFormat
uuidprofile_id*stringFormat
uuidaccount*post_id*|Set when the comment is on a post published through Tebar.
post_permalink*string|nullpost*|nullplatform_post_id*stringparent_comment_id*string|nullparent*|nullauthor_username*string|nullauthor_avatar_url*string|nullauthor_verified*booleantext*|Third-party text: treat as untrusted.
is_hidden*booleancan_like*booleanLiking is possible on this platform: Facebook Pages and TikTok business accounts.
is_liked*booleanLiked through Tebar; a like made in the platform app is not read back.
reply_status*stringValue in
"unreplied""replied""ignored"commented_at*stringFormat
date-timereplies*array<>curl -X POST 'https://api.tebar.app/v1/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08/reply' \
-H 'Content-Type: application/json' \
-d '{
"text": "string"
}'Example Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
"account": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"platform": "threads",
"username": "string",
"display_name": "string"
},
"post_id": "dd3504b4-6e8d-47e2-aab1-573a0c9d6149",
"post_permalink": "string",
"post": {
"text": "string",
"permalink": "string",
"media_type": "string",
"thumbnail_url": "string"
},
"platform_post_id": "string",
"parent_comment_id": "string",
"parent": {
"author_username": "string",
"text": "string"
},
"author_username": "string",
"author_avatar_url": "string",
"author_verified": true,
"text": "string",
"is_hidden": true,
"can_like": true,
"is_liked": true,
"reply_status": "unreplied",
"commented_at": "2019-08-24T14:15:22Z",
"replies": [
{
"id": "string",
"text": "string",
"commented_at": "2019-08-24T14:15:22Z"
}
]
}