Twitter

フリーミアム
よって davethebeast | 更新済み месяц назад | Social
人気

9.9 / 10

レイテンシー

1,658ms

サービスレベル

100%

Health Check

100%

すべてのディスカッションに戻る

How to get a tweet's all comments ?

Rapid account: Beaniegrunkwitz 3
beaniegrunkwitz3
2 месяца назад

hi, thanks for providing a great api for us.
I tried to get all the comments back from a specific tweet ID, but the number of data is different with what I can see from the twitter’s web page.
Is this normal?

Rapid account: Beaniegrunkwitz 3
beaniegrunkwitz3 Commented месяц назад

thx for the reply, sorry I come back late,
here is the endpoint I tested and how I operated

endpoits: https://twitter241.p.rapidapi.com/comments
pid: 1794688436516843792

firstly I call the api without a cursor, after I fetched the list, I use the last item’s "content.itemContent.value"
as the cursor to start a loop fetching all the commands until the cursor returns empty.

The total items I fetched back is 210, but from the twitter web page it listed as 258.

what I want to achieve is get all the commands back, is there anything I missed?

thx a lot.

Rapid account: Davethebeast
davethebeast Commented 2 месяца назад

Can you give me the tweet ID where this happens?

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿