Перейти до основного вмісту
GET
Targeting X/Twitter? Starting March 31, 2026, all X operations require your own API credentials. After linking X via OAuth, include these 2 headers in your request:

X-Twitter-OAuth1-Api-Key — Your API Key (Consumer Key)
X-Twitter-OAuth1-Api-Secret — Your API Key Secret (Consumer Secret)

One-time setup per Ayrshare account. You create one X Developer App and reuse the same API Key and Secret across every sub-profile / end-user you link. You do not create a new app per customer.

Not linked yet? See the full setup guide to connect your X account.

Your keys are never logged or stored by Ayrshare.
Отримайте історію для постів, що не походять із Ayrshare, надавши низькорівневий Social post ID. Цей Social Post ID повертається у полі postIds ендпоінта post, у полі id ендпоінта get all history або як ID з URL посту — наприклад, із цього посту Facebook. Підключений акаунт має бути власником посту, щоб отримати історію. Підтримувані платформи: Facebook, Instagram, LinkedIn, Threads, TikTok, Twitter та YouTube з такими значеннями platform: facebook, instagram, linkedin, threads, tiktok, twitter, youtube.

Параметри заголовка

Параметри шляху

string
обов'язково
Social Post ID посту.
Ще один приклад Facebook Social Post ID 104923907983682_108329000309742 див. у Response 200 ендпоінта /post.

Параметри запиту

boolean
обов'язково
Завжди дорівнює true
string
обов'язково
Значення: facebook, instagram, linkedin, threads, tiktok, twitter, youtube