Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can nifi give me tweets from a particular location?

Solved Go to solution

Can nifi give me tweets from a particular location?

Explorer

I am only interested in analyzing the tweets from a particular location. There are some options in tweeter API for R to get location based tweets. Is there is anyway I can get tweets from specific location using Nifi?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Can nifi give me tweets from a particular location?

In Nifi you have the in built GetTwitter processor which pulls tweets through twitter streaming API. As part of the tweets you can pull the location information by extracting the twitter.coordinates field. Coordinates represents the geographic location of this Tweet as reported by the user or client application. The inner coordinates array is formatted as geoJSON (longitude first, then latitude).

View solution in original post

1 REPLY 1
Highlighted

Re: Can nifi give me tweets from a particular location?

In Nifi you have the in built GetTwitter processor which pulls tweets through twitter streaming API. As part of the tweets you can pull the location information by extracting the twitter.coordinates field. Coordinates represents the geographic location of this Tweet as reported by the user or client application. The inner coordinates array is formatted as geoJSON (longitude first, then latitude).

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here