Перейти к основному содержанию
POST
/
x
/
posts
Get all the post information for a tweet by entering the user_id of the tweet.
curl --request POST \
  --url https://api.acedata.cloud/x/posts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "44196397",
  "cursor": "<string>"
}
'
{
  "result": 904,
  "next_cursor": 602
}

Авторизации

Authorization
string
header
обязательно

Заголовки

accept
enum<string>

Specifies the format of the response from the server.

Доступные опции:
application/json,
application/x-ndjson

Тело

application/json
user_id
string
обязательно

The user_id that needs to be queried for tweets.

Пример:

"44196397"

cursor
string

Post information page turn id, which needs to be returned by next_cursor in the result.

Ответ

OK, the request was successful.

result
object

Return comment result information.

next_cursor
string

id for comment information page turning.