Twitter

פרמיום
על ידי davethebeast | מְעוּדכָּן 10 days ago | Social
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

1,877ms

רמת שירות

100%

Health Check

100%

חזרה לכל הדיונים

How to get a tweet's all comments ?

Rapid account: Beaniegrunkwitz 3
beaniegrunkwitz3
21 days ago

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 3 days ago

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 19 days ago

Can you give me the tweet ID where this happens?

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות