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
I tried running it and checking whether or not the code runs, but after running it doesn't seem to output the results. The code only outputs Failed instead of outputting replies. Here is the code
replies=[]
for tweet in tweepy.Cursor(api.search_tweets,q='to:'+name, result_type='recent').items(1000):
if hasattr(tweet, 'in_reply_to_status_id_str'):
if (tweet.in_reply_to_status_id_str==tweet_id):
replies.append(tweet)
else:
print('Failed')
replies
The text was updated successfully, but these errors were encountered:
I tried running it and checking whether or not the code runs, but after running it doesn't seem to output the results. The code only outputs Failed instead of outputting replies. Here is the code
The text was updated successfully, but these errors were encountered: