Stream API filtering


#1

I’m using tweetpy and python.

If I put the GeoTags of NewYork (from the example of the API’s docs), it works fine:

stream.filter(locations=[-74,40,-73,41])    

but if I use the geotags of mexico city, like this:

stream.filter(locations=[-99.101028,19.373341,-99.198532,19.514492])    

I got the error code “406”

I checked that the first geotag pair is the southwest boundary, and the second one is the north east boundary. I got these locations from google maps. It does not matter if I round the number or I trunk it.

What am I doing wrong?

Thanks


#2

Did you find an answer to your question I have the same issue here?


#3

No, I am still looking :frowning:


#4

It will work if you switch the longitudes, like this:

-99.198532,19.373341,-99.101028,19.514492