Reputation: 1683
I am using twitter4j java library to make a twitter API search for given keywords. The rearch works fine, but all the tweets returned have the geo
field set to null
.
I have taken a look to the twitter developers documentation and all te results there, have geo
null.
Here is my java code:
TwitterFactory twitterFactory = new TwitterFactory();
Twitter twitter = twitterFactory.getInstance();
Query query = new Query("query");
query.setRpp(10);
QueryResult result = twitter.search(query);
I list all the tweets but none of them has geo code.
Is there any way I can get the geo location of the tweet /user?
Upvotes: 3
Views: 2058
Reputation: 7310
There seems to be a problem at Twitter causing this behaviour.
Although some search queries work for me and return some coordinates (1st of Feb 2012).
Unfortunately what I can only suggest is waiting until they solve the problem or have a look at the discussion attached to that issue.
Upvotes: 2