-
What is TwtrCtr?
TwtrCtr ("TwitterCounter nano") displays a simple, iPhone-optimised view of the Twitter statistics data provided by the TwitterCounter and FollowCost APIs.
Why not just use the normal web page?Fair point. Yes, the TwitterCounter page is pretty, and (mostly) works in Mobile Safari (except for the Flash graph)... but it isn't formatted well for display on the iPhone screen. TwtrCtr strips it down to the basics and just lets you see your stats, on a single screen.
...waitaminute. You're phishing, aren't you?Absolutely not. This application does not store any data about the user queried and will never ask for authentication information. All it does is pass through a username to TwitterCounter (without storing that name locally) and then it reformats the results of the query for the iPhone screen.
Who made this then?TwtrCtr was created by Andy Piper aka @andypiper, a man who is far too obsessed with his own Twitter stats for his own good.
Why don't the stats match what is shown on the TwitterCounter page?Good question. TwitterCounter appears to a) cache information, so follower count might not always match what you see on twitter.com and b) approximate the daily and monthly predictions depending on the period of history data requested. The values returned in their API don't always match those on the site.
Cool! How did you make it look like an iPhone app?There's a nice compact framework called iWebKit which provides the styling and scripts to make this behave like an iPhone application. It was modified slightly but that's basically all that is being used here.
Any neat tricks I should know about?One or two. You can add an icon to your iPhone home screen to launch TwtrCtr any time you like (click the + icon in Safari and then choose "Add to Home Screen"). Also, by selecting the rows that have an > arrow, you can follow links to the user's Twitter profile and homepage URL (if that exists), or view a chart of the last week's progress.
How did you make that nifty graph thing?Google Charts - let me know if you have any thoughts about how I could improve this/make it more fancy in future.
I get a blank page when I go "back"!Yep, sorry about that. If you follow a link (such as to the user's Twitter page or their homepage) and then hit the browser's Back arrow, you might get a blank page. Issue with the iWebkit framework, unfortunately. If you use the Home button in the TwtrCtr navbar then moving between TwtrCtr pages should be OK, but I can't fix that for external links.
The stats chart page is blank, or the chart doesn't have a line on it!More than likely, this is because there's a gap in the statistics data returned from TwitterCounter. It's probably only a temporary issue and your chart will be back in a day or two.
Why? Just... why?Basically, because the author wanted to hack around with PHP, iPhones, iWebKit, REST, XML and stuff. It's a mashup.
