cjbarrie / academictwitteR

Repo for academictwitteR package to query the Twitter Academic Research Product Track v2 API endpoint.
Other
272 stars 59 forks source link

[FR] Get Quote Tweets For #339

Open FiveVoltLogic opened 2 years ago

FiveVoltLogic commented 2 years ago

Describe the solution you'd like

Though there is a way to collect quote tweets in an initial query, I am looking for a way to collect quote tweets from a given tweet ID much in the same way as the get_retweeted_by function but with the quote_tweets API endpoint instead.

The solution would take a tweet ID (either on its own or by iterating through a list) and given query parameters and return the response fields as per the twitter API reference here

I have attempted my own solution by modifying get_retweeted_by, though it's not adequate enough a solution to submit a pull request and a little above my level of experience.

Thank you

Anything else?

twitter API reference: https://developer.twitter.com/en/docs/twitter-api/tweets/quote-tweets/api-reference/get-tweets-id-quote_tweets