跳转到主要内容
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.
获取特定帖子的历史记录。将 :id 替换为 post 返回的 Ayrshare Post ID。

请求头参数

路径参数

string
必填
/post 返回的 Ayrshare Post ID

查询参数

boolean
默认值:false
在所有 User Profile 的全部帖子中搜索该帖子 ID。默认:false