Re: Has anyone used the Twitter API for location filtering?

2015-09-23 Thread Akhil Das
I just tried it and very few tweets has the .getPlace and .getGeoLocation data available in it. [image: Inline image 1] I guess this is more of an issue with the twitter api. Thanks Best Regards On Tue, Sep 22, 2015 at 11:35 PM, Jo Sunad wrote: > Thanks Akhil, but I

Re: Has anyone used the Twitter API for location filtering?

2015-09-22 Thread Jo Sunad
Thanks Akhil, but I can't seem to get any tweets that include location data. For example, when I do stream.filter(status => status.getPlace().getName) and run the code for 20 minutes I only get null values.It seems like Twitter might purposely be removing the Place for free users? On Tue, Sep

Re: Has anyone used the Twitter API for location filtering?

2015-09-22 Thread Akhil Das
​That's because sometime getPlace returns null and calling getLang over null throws up either null pointer exception or noSuchMethodError. You need to filter out those statuses which doesn't include location data.​ Thanks Best Regards On Fri, Sep 18, 2015 at 12:46 AM, Jo Sunad

Has anyone used the Twitter API for location filtering?

2015-09-17 Thread Jo Sunad
I've been trying to filter for GeoLocation, Place or even Time Zone and I keep getting null values. I think I got one Place in 20 minutes of the app running (without any filters on tweets). Is this normal? Do I have to try querying rather than filtering? my code is following TD's example... val