Recent search counts
GET
/2/tweets/counts/recent
Tweets
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.twitter.com/2/tweets/counts/recent?query='
响应示例响应示例
200 - 示例 1
{
"data": [
{
"end": "2019-08-24T14:15:22Z",
"start": "2019-08-24T14:15:22Z",
"tweet_count": 0
}
],
"errors": [
{
"detail": "string",
"title": "string",
"status": 0,
"type": "about:blank"
}
],
"meta": {
"next_token": "string",
"total_tweet_count": 0
}
}
请求参数
Query 参数
query
必需
start_time
可选
end_time
可选
since_id
可选
until_id
可选
next_token
可选
granularity
可选
返回响应
修改于 2021-08-02 10:27:04