tweety icon indicating copy to clipboard operation
tweety copied to clipboard

not able to get all the comments for a tweet.

Open Sri-harsha99 opened this issue 1 year ago • 1 comments

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

``

Sri-harsha99 avatar Dec 02 '23 00:12 Sri-harsha99

If possible can you please post tweet id

mahrtayyab avatar Dec 04 '23 12:12 mahrtayyab