Kenya-Tweet: Twitter Use in Kenya

Home Map


Click on the "Map" icon in the upper-right to access the real-time map of tweets located in (and very near to) Kenya. Only those tweets from individuals who have their geolocation function turned on will display. The markers update every ten minutes. The "Home" icon will always bring you back to this page while the "Refresh" icon on the map page will reload that entire page.

On the map itself, you will find at most 20 markers, each of which is associated with a tweet in Kenya (and occasionally other eastern African countries). Clicking on a marker will open a popup that will display that tweeter's handle, followed by the text of the tweet. The map can be zoomed in to see street detail.


This project began as an idea in December 2013 to create a mobile mapping system that would allow people to track, in real time, the tweets coming out of the Maasai Mara National Reserve in Kenya. After quickly realizing that such a project would not be feasible, given how few tweets come from that part of Kenya, this project's geographic area quickly expanded to include the entirety of Kenya.


The largest tool working behind the scenes on this project is Mapbox's map tiles. The site itself is build with the jQuery Mobile framework. The twitter data utilizes Martin Hawksey's TAGS tool for tweet archiving by pulling from Twitter's firehose API, but with a number of modifications that turns it into an up-to-the-minute database of the 20 most recent tweets geolocated to Kenya. (TAGS is available via the Creative Commons Attribution license.) By hosting this tool on Google Drive and automatically publishing any changes as a Comma Separated Values (.csv) file, this site combines the .csv with the Mapbox map using Leaflet's Omnivore plugin.