When I query the API method ‘search/tweets’ (GET) with as parameter q = ‘Twitter’ it’s doing just fine (I get back a list of tweets containing the word Twitter). When I try adding the OR operator and update the query (q parameter) to ‘Twitter OR Facebook’, the call fails. I get back a 400 error (Call failed). The documentation states that there must be something wrong with the authentication (https://dev.twitter.com/docs/error-codes-responses), but I highly doubt that since I only changed the searchquery and before that it worked just fine.
The above query is just an example (but it’s also tested and not working), in my real application the query uses a few more operators. For these tests I removed all other parameters and only use the required ‘q’ parameter.
Update: Only using ‘Twitter Facebook’ isnt working either. Both with and without url encoding. When I try any of these queries on Twitter.com they just work fine (they also work on the ‘old’ Twitter search API endpoint.)
Any suggestions are welcome. Thank you in advance.