Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to get a tweet output #5

Open
DerrellH opened this issue Jan 4, 2023 · 1 comment
Open

Can't seem to get a tweet output #5

DerrellH opened this issue Jan 4, 2023 · 1 comment

Comments

@DerrellH
Copy link

DerrellH commented Jan 4, 2023

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
@nirholas
Copy link
Owner

nirholas commented Feb 6, 2024

new X (Formerly Twitter) API terms

working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants