tweety
tweety copied to clipboard
not able to get all the comments for a tweet.
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
``
If possible can you please post tweet id