Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Can nifi give me tweets from a particular location?

avatar
New Member

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

avatar

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

avatar

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).