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 I obtain the replies of a tweet? #193

Closed
VolodyaCO opened this issue Jun 15, 2019 · 6 comments
Closed

Can I obtain the replies of a tweet? #193

VolodyaCO opened this issue Jun 15, 2019 · 6 comments

Comments

@VolodyaCO
Copy link

If I have a tweet with an id, can I pass this id to twitterscrapper to obtain all replies of the original tweet?

@taspinar
Copy link
Owner

No, but you can obtain the replies to an person and then filter out the result.

@VolodyaCO
Copy link
Author

@taspinar And how can I do that? The tweets that are replies to a person (with the option "filter:replies" in the advanced search) do not mention the id of the tweet they are replying to.

For example twitterscraper "cmilanoticia filter:replies" -l 1000 -bd 2019-06-13 -ed 2019-06-15 -o tweets.json gives only tweets that are replies to cmilanoticia, but I do not know which tweets reply to which tweet.

@taspinar
Copy link
Owner

Can you have a look at #100.
I believe that is what you're looking for.

@VolodyaCO
Copy link
Author

@taspinar So I'd have to modify tweet.py to implement what you are saying, right?

Because this reply_to_id idea is not implemented right now

@taspinar
Copy link
Owner

No not yet.

@VolodyaCO
Copy link
Author

I modified tweet.py and got what I needed. Thanks @taspinar I will close this issue.

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