Exclude Retweets in Twitter Search API 1.1

后端 未结 1 1990
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 11:22

Here I\'m trying to retrieve the tweets which has the tag \'V57\' using search api 1.1. Dumped & seen the results of search term by using,

$search_tim = $conne

1条回答
  •  隐瞒了意图╮
    2021-02-02 12:11

    I have found concatenating "-filter:retweets" to the end of your query string works best.

    If you simply add -RT you might run into issues with accidentally filtering tweets containing "RT" for example "Russia Today" will use that string quite a lot!

    The following pages describe Twitter search operators:

    • https://support.twitter.com/articles/71577-using-advanced-search
    • http://thesocialchic.com/2013/04/26/how-to-master-twitter-search/

    0 讨论(0)
提交回复
热议问题