There have been many times I have come across a person or organization’s Twitter screenname on their website and wondered if it was worthwhile to follow them on Twitter. I was looking to create an application which would display helpful information about a Twitter user in an easy-to-read format. I chose AngularJS for the framework due to it’s fast setup, filters for formatting returned data, and its powerful resource API service.
I came up with the Follow Insight web app, which the user will be able to search by Twitter screenname and retrieve information such as when the account was created, the last time they tweeted, how many followers they have, if the account is verified, etc. In addition to the standard Twitter profile information, the Twitter user’s Klout score will also be provided. A person’s Klout score is a measurement of how influential the user is on Twitter, ranging from 1 to 100.
The Follow Insight app is designed with a PHP backend and an AngularJS frontend. The AngularJS resource service is used to make consecutive calls to the Twitter and Klout RESTful APIs with the help of the respective PHP API wrappers. The returned data is displayed using AngularJS directives. You can take a look at the code on GitHub and the app itself here.