I’m trying to get tweets related with grip ( means flu in turkish) I’m using pyton wrapper for this.I’ve build a query rule like this. But it’s returning “retrying request; current status code: 422” what am I doing wrong here? I have premium subscription so it’s not a sandbox environment. So I can use -has:links and -is:retweet operators cause I don’t want retweets and tweets with links . Here is my query rule;
rule = gen_rule_payload("grip lang:tr AND -has:links AND -is:retweet", results_per_call=500, from_date=2018-02-20, to_date=2018-02-21)
Also I’ve tried like this;
rule = gen_rule_payload("(grip) (lang:tr) -(has:links AND is:retweet)", results_per_call=500, from_date=2018-02-20, to_date=2018-02-21)
I’m sure that I’m missing something but what? Thanks for any help.