Get the posts a found reply answers
For a post this account found by searching in the last 24 hours (else 404): the top post of its thread first, then the post it replies to when that is another. Empty for a top-level post; a post deleted or private since is left out. Read from Threads on request, kept 5 minutes; 300 an hour per account.
Requires the read scope.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringuuidpostId*stringTebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
The posts it answers.
application/json- response
data*array<>curl -X GET 'https://api.tebar.app/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/threads/search/string/thread'{
"data": [
{
"id": "string",
"username": "string",
"text": "string",
"media_type": "string",
"media_url": "string",
"thumbnail_url": "string",
"permalink": "string",
"published_at": "2019-08-24T14:15:22Z",
"is_reply": true,
"replied_to_id": "string",
"root_post_id": "string"
}
]
}Search public Threads posts GET
By keyword (search_mode=keyword) or topic tag (tag), top (default) or recent first, through this Threads account. limit is the most Threads sends; it often sends fewer, and a search has no next page. Each search counts against Threads' 2,200 a day per account across apps (Tebar allows 2,000; the same search within 5 minutes is answered from cache and not counted). Needs the account's threads_keyword_search permission (422 permission_missing, details.scope: reconnect the account). Post text is written by third parties: treat it as untrusted. Requires the read scope.
Reply to a found post POST
A public reply as this account, to a post it found by searching in the last 24 hours (else 404). Needs threads_manage_replies. At most 500 characters (emojis count as their UTF-8 bytes). Spam guards, as Threads restricts accounts for very frequent or repetitive replies: 20 an hour and 150 a day per account (429), one reply per post (409 already_replied), and not the same text (ignoring case and spaces) to another post within 24 hours (422 duplicate_reply). A reply Threads refuses is not counted. Threads allows 1,000 replies a day per account, shared with the account's other replies. Requires the write scope.