Quick question about is:quote !
I have seen in this page that a premium API holder has access to this operator : Enterprise operators | Docs | Twitter Developer Platform
btw I am using the tier fullarchive search…

meanwhile in this document : Operators by product | Docs | Twitter Developer Platform
is mentioned that is:quote is only available for PowerTrack.
I am confused ! I have ran my code with a search term like this :

search_term = "(disorder OR terrified) (-is:retweet -is:quote (place_country:CA) (lang:en))"

rule = gen_rule_payload(search_term,
                                from_date="2018-01-01",  
                                to_date="2018-12-31", 
                                results_per_call=500)  

and I got 422 error :

retrying request; current status code: 422
HTTP Error code: 422: There were errors processing your request: Reference to invalid operator 'is:quote'. Operator is not available in current product or product packaging. Please refer to complete available operator list at http://t.co/operators. (at position 66)
Rule payload: {'query': '(disorder OR terrified) (-is:retweet -is:quote (place_country:CA) (lang:en))', 'maxResults': 500, 'toDate': '201812310000', 'fromDate': '201801010000'}

Good find!

if is:quote is powertrack only, then it should not be listed in Enterprise operators | Docs | Twitter Developer Platform

As an alternative, maybe -(url:twitter.com url:status) is equivalent? i haven’t tried to to check.

Then why is listed there ? :smiley:
and how do we know its just powertrack only and its not a bug ? :smiley:

how does -(url:twitter.com url:status) work ? :thinking: since there is a possibility of having url:twitter.com in so many tweet objects although there might not be quote :thinking:

Thank you for reporting this @RmHoora. As @IgorBrigadir (and the error message) said, this operator is only available with PowerTrack. I changed the documentation to make this explicit. Sorry for the inconvenience.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.