I am new to Postman and have successfully got started using the Twitter API v2 collection. I’m able to run a single query ‘from:ukhomeoffice’ and separately run a query using a keyword but understand I cannot run the two together. i.e. selecting x2 queries the response = “message”: “Duplicate parameters are not allowed: the query parameter”

What I’m looking to do is search for tweets from a particular user (in my case the UK home office) also containing a keyword. Is there a way to do this?

Many thanks!

I would not use postman for this, it’s a good tool for making individual calls but not suited for data gathering. I recommend using twarc instead:

After setting up and configuring it, to get tweets from an account:

twarc2 search --archive "from:account (keyword OR keyword2 OR keyword3)" output.json

Thanks @IgorBrigadir. Am I right in thinking TWarc is for Python? I have basic skills in R but not Python. Also I am using the academic access endpoint

1 Like

Sure - you only need python installed, twarc works as a command line tool, so you don’t need any python programming at all. Twarc was built for exactly this - working with the academic access endpoint without writing code ( just terminal commands)

Thanks again @IgorBrigadir. I shall give TWarc a go!