Search public Threads posts
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.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringuuidq*string1 <= length <= 100search_type?string"top""top""recent"search_mode?string"keyword""keyword""tag"media_type?string"text""image""video"limit?integer1 <= value <= 5025Tebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
The posts Threads sent.
application/json- response
data*array<>curl -X GET 'https://api.tebar.app/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/threads/search?q=string'{
"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"
}
]
}Read the latest numbers from the platforms POST
At most once every 5 minutes per user. The worker also syncs every 6 hours. days (optional, the statistics range): the numbers of posts published through Tebar in that many last days are read again, up to 90 (default 30). Posts made outside Tebar come with the platform's post list, 90 days. Requires the read scope.
Get the posts a found reply answers GET
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.