Quantcast
Channel: How to Exclude retweets and replies in a search api? - Stack Overflow
Browsing all 12 articles
Browse latest View live

Answer by K. Thorspear for How to Exclude retweets and replies in a search api?

In the new Search Tweets API, including the following parameters will remove different flavors of retweets:-is:retweet Excludes retweets-is:quote Excludes quote tweets-is:reply Excludes repliesPlease...

View Article


Answer by Mike Chen for How to Exclude retweets and replies in a search api?

Found this while searching how to do this in the new v2 API, and it's now puppy -is:retweet -is:reply (no longer need the ANDs...

View Article

Answer by gloschtla for How to Exclude retweets and replies in a search api?

Just use nitter.net it allows you to exclude things from the search results (via advanced search options on the right end of its search bar), and it even provides its own RSS feed. On top it expands...

View Article

Answer by Michael C for How to Exclude retweets and replies in a search api?

This is allowed as documented in the official documentationpuppy -filter:retweets containing “puppy”, filtering out...

View Article

Answer by Kehran for How to Exclude retweets and replies in a search api?

Very late reply, like everyone else but I feel the second answer here by Paul should be the "correct" one. I wish twitter would document this better, or make it more well known but there are a TON of...

View Article


Answer by Prabin Kumar Das for How to Exclude retweets and replies in a...

yes, you can exclude the retweets during search API by adding -RT in the search string (q). Ex: search?q="#demo -RT"

View Article

Answer by phuc77 for How to Exclude retweets and replies in a search api?

Old post, but people might still stumble upon it.Most query operators are documented here: https://dev.twitter.com/rest/public/searchBut for the search/tweets method, you can also specify...

View Article

Answer by JeremyS for How to Exclude retweets and replies in a search api?

Sorry I'm late to the party here. I agree with Hitesh in that they do not provide a way to exclude retweets natively, but every tweet that is a retweet has a retweet object in the json returned. So you...

View Article


Answer by ex0b1t for How to Exclude retweets and replies in a search api?

According to the official documentationPass the following parameter exclude_replies=true

View Article


Answer by Paul Thomas for How to Exclude retweets and replies in a search api?

I beleive the above is incorrect, you can use filters in the search API but the documentation is very poor (non-existent?).Your query would become:?q=from:rioferdy AND -filter:retweets AND...

View Article

Answer by Hitesh for How to Exclude retweets and replies in a search api?

There is no direct way to exclude retweets and replies from the api. However, you can filter out the results you have got.For replies, you can check if the in_reply_to_status_id field you get from api...

View Article

How to Exclude retweets and replies in a search api?

How to Exclude retweets and replies in a search api?I am trying to fetch the feeds from twitter using search api, in the result I am getting replies and retweets also.So I want to exclude replies and...

View Article
Browsing all 12 articles
Browse latest View live