In the official app, we can exclude blocked users' tweets from the search results with the corresponding setting, but I don't know how to do the same thing with Twitter::REST::Search#search.
I tried to exclude blocked users' tweets by just adding -from:screen_name as many as the number of blocked users to query parameter, but in this way the query will be too long and the request will be error.
In the official app, we can exclude blocked users' tweets from the search results with the corresponding setting, but I don't know how to do the same thing with Twitter::REST::Search#search.
I tried to exclude blocked users' tweets by just adding
-from:screen_name
as many as the number of blocked users toquery
parameter, but in this way the query will be too long and the request will be error.Do you have any ideas?