java - Twitter4j Query by location + blacklistword -
this question relates twitter4j library
so when doing standard search in twitter, it's possible @apples near:uk
however when creating object query object:
query q = new query("@apples near:uk");
doesn't work. explain how tweets specific location, uk?
there 2 ways this.
if take @ documentation you'll see can use place ids rather text searches.
for particular case, need geocode search per the documentation.
the search operator “near” isn’t available in api, there more precise way restrict query given location using geocode parameter specified template “latitude,longitude,radius”, example, “37.781157,-122.398720,1mi”.
Comments
Post a Comment