Twitter API: Check if a tweet is a retweet

前端 未结 9 2401
南笙
南笙 2020-12-15 05:33

I have found this question. However I think this has changed on API version 1.1.

If I use the search/tweets method, how can I see if the tweet is a RT?

9条回答
  •  自闭症患者
    2020-12-15 06:14

    To the ones who are using Hydrator1 and relying on its CSV export of the hydrated JSONL file: you can check reweet_id (no it's not a typo in version 0.0.12), and if it's NA then it's an original tweet as I found.

    original_twitter_tweets = twitter_csv_data %>% filter(is.na(reweet_id))
    

提交回复
热议问题