Twitter has been surprising us for the latest several weeks and months. Firstly they abandoned their long philosophy of keeping the tweet character count of 140 and not a single more.
Now it’s technically still the same but you can media and the characters within the link will not be counted, so you can focus on the message you’re trying to convey.
Twitter is like a mirror to the world. And in order to observe the world through its lens, a particular kind of software comes in handy – a tool showing in real time tweeting tendencies. And today, as a part of our web development exercises blog posts series…
… we’d like to present you how to make one.
It’s also an interesting exercise for web development task because of the need for being compound nature of this app – we’ll take Google Maps as a means for showing localization.
The geo-localization itself is a module that is a part of Twitter – it is available for any user since you can pick a town that you live in or pretty much any other town in the world and see what are tweeting tendencies there.
This tool can be also provide great educational benefits – you think that yesterday’s presidential election is a big news all around the world? Well you might be right, but why not checking it? Just see whether election-related tweets are used in specific areas of the world!
How are we going to accomplish our bold goal in the field of web development?
Well, we’re going to use several programs as parts of the architecture. We’ll use Apache Spark since there is a lot of information to be processed.
Scala is our next choice and this choice is purely technical. As far as web development implementation language go, there are a lot of possibilities but only one of them works exceptionally well with Apache Spark. And it’s Scala.
For further architectural elements enumeration as well as strict technicalities together with parts of the code you’ll find on our blog: https://codete.com/blog/observing-world-tweeting-tendencies-in-real-time-part-1/