You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the difference between get_comments and get_tweet_comments? Also, I'm not getting entire comments for a tweet. A tweet has 800 as a reply count. But I'm getting only 200 comments. That too I'm getting 150 comments at first, and if requested again using cursor from the previous response, I'm getting 10 more comments. I'm doing this 4 times so, 150+4*10 ~ 200.
My code block:
``
commentCursor = None
while commentCount < 500 and cur != 5:
try:
commentsData = tweet.get_comments(pages=50,wait_time=5,cursor=commentCursor, get_hidden=True)
cur += 1
commentCursor = commentsData.cursor
do something with commentsData.tweets
``
The text was updated successfully, but these errors were encountered:
Sri-harsha99
changed the title
Difference between get_comments and get_tweet_comments ?
not able to get all the comments for a tweet.
Dec 4, 2023
What is the difference between get_comments and get_tweet_comments? Also, I'm not getting entire comments for a tweet. A tweet has 800 as a reply count. But I'm getting only 200 comments. That too I'm getting 150 comments at first, and if requested again using cursor from the previous response, I'm getting 10 more comments. I'm doing this 4 times so, 150+4*10 ~ 200.
My code block:
``
``
The text was updated successfully, but these errors were encountered: