Social media provides an outlet for anyone to speak their mind while providing public opinions, thoughts and advice. Even though individual Tweets or Facebook posts may seem unimportant or trivial, they comprise a large set of data which provides invaluable information on society.
Earlier I had troubles getting the Twitter4j and Unfolding Maps libraries running at the same time, but after moving some things around I’ve managed to get it working.
By converting the longitude and latitude values from strings to float values, I was successfully able to plot them onto the map.
I’ve been able to access the public twitter stream using the Twitter4j library, and filter the results by geolocation.