Quantcast
Channel: Difference between -filter:retweet and -filter:nativeretweets in Twitter Search API 1.1 - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Difference between -filter:retweet and -filter:nativeretweets in Twitter Search API 1.1

$
0
0

I'm trying to run some queries against the Twitter API to collect some tweets. I want to filter out retweets and after some research discovered there seems to be two different tags you can append to the search query to filter them -filter:retweet and -filter:nativeretweets.

I've ran sample queries with both options and can seem to tell the difference. List is returned tweets is slightly different but in no real way I can discern. Neither seem to contain retweets. I won't post the output here as it's a fairly length JSON output but I can if need be.

The sample queries are

-filter:retweet

https://api.twitter.com/1.1/search/tweets.json?q=%22Sample+Query%22-filter:retweet&count=100&include_entities=false&result_type=recent&tweet_mode=extended

-filter:nativeretweets

https://api.twitter.com/1.1/search/tweets.json?q=%22Sample+Query%22-filter:nativeretweets&count=100&include_entities=false&result_type=recent&tweet_mode=extended

Viewing all articles
Browse latest Browse all 2

Trending Articles