Wednesday, 17 August 2016

How To Track Twitter Emojis Real Time?

In previous post we talked about "How to do live streaming and tracking the tweets?" If you haven't read that post, then I would recommend to Devour itfirst before moving further.

You will find many articles on internet about live streaming and tracking the tweets, but you will rarely find a way to track twitter emojis real time. There is only one example of tracking twitter emojis real time and it is http://emojitracker.com/

This tracker is awesome and shows live emojis getting used world wide. I have simillar requirement with a small change. My requirement was to track emojis for particular city and show it real time to decide the mood of city.

For example: My client wanted to know the mood of city on internet by tracking emojis on twitter.

Now the link that I shared above (http://emojitracker.com/) was developed on non .NET platform and it was not easy for me to use. Moreover I haven't found any article to track twitter emojis real time using .NET, hence after good amount of research and development I was able to achieve this real time emoji tracking. I am writing this blog post to help my friends who has similar requirement.

It's easy to track tweet based on different criteria such as location and text using TweetInvi API. But the challenge was "How to track emojis?" as it is NOT text. Moreover I needed to store count of these emjois in order to know the mood of cities.