Home
Blog
About
Coding
Websites
Photos
Twit-Map
Links
Only Idiots Assume - Blog Home

Archive for the ‘Twitter’ Category

The Official Twitter iPhone Application

2 comments

Twitter for iPhone App Icon

Twitter for iPhone App Icon

So here it is the long promised Official Twitter iPhone Application, first impression upon loading it from the Apple AppStore was that the icon needs a bit of work, almost like it had been rushed.

But more importantly what is the application like? Opening the app up for the first time presented me with a screen showing the latest tweets of interest and trends. I would show you a screen shot, but stupidly I rushed passed that page and logged in (you get a similar page once logged in).  What did surprise me was the basic authentication method that was used, “please enter your username and password”. Surely the official Twitter app should be using oAuth? If someone like me can slave over a PHP oAuth system, then Twitter’s dev team can create a layer for the iPhone!??

But what do my tweets look like I hear you shout (or I might be imagining it), well they look like this.

Official Twitter iPhone App - Timeline

Official Twitter iPhone App - Timeline

They appear to have taken the standard layout, author image to the left (unless its your’s, then its to the right). @kaivana ‘s tweet is shown with a blue background I presume because it is tweeted at me! Oh and @Tony_Hillier is trying the new app also, hence the random “Tweet Tweet”.

My current iPhone Twitter client is TwitBird Pro, and the only thing that I feel this page is missing is the background image feature that TwitBird Pro offers.  Perhaps @Twitter will take notice and do an update!

The icons along the bottom of the screen provide a few extra views,

  • Speach bubble provides your standard home timeline.
  • @ symbol unsprisingly provides a list of tweets in which you are mentioned.
  • Letter provides your direct messages, grouped by user which is a nice touch.
  • The hand glass provides the more interesting feature allowing for trending topics and searches.
  • The triple dots gives access to the settings and your favourite tweets and lists.

Clicking onto a tweet performs the usual action of showing the tweet along with and links for #hashtags and @usernames. If the tweet is geo-tagged then it will also show a nice little map which can be extended with a click to a full screen view.  The normal access to a users bio is also available when you click on their name, which gives a funky feature allowing you to import their info into an iPhone contact!

Read the rest of this entry »

Twitter @anywhere

No comments

Last night Twitter brought out the @anywhere program, releasing the code to the developer community. A community which is currently rather worried for its survival, as Twitter have also announced their purchase of the Tweetie iPhone application.

With Twitter releasing their own iPhone application, many current application developers are worried that people will not want to purchase their own (or use the free advert supported ones), when they can simply use the “official Twitter application”. However Biz Stone (@biz) and the rest of his team have tried to convince us that all is well in the Twitter API world, and they have sweetened the deal with @anywhere.

What is @anywhere I hear you ask (or am I just imagining that!?), well you may notice that if you hover over any of the Twitter user names in this post you will see something that looks like this.

Example Twitter @anywhere hovercards

An example of my Twitter @anywhere hovercards

The above image is an example of the “Twitter Hovercard”, the left is the initial card when you hover over a username such as @jamesakadamingo. The right hovercard is shown when you click the “more” link alongside the location in my hovercard.  As you can see it shows my default profile information and my last tweet.

Currently this is the only feature that I am implementing, but wait around and some more will turn up!!

@jamesakadamingo aka James Chorlton.

Twitter Feed from a Local Source

3 comments

Hey,

I have always been a bit annoyed with the Twitter HTML feed, its not particualy standard compliant  and insists on using unordered lists.  However that could all be dealt with via a little code rewrite, and some creative CSS.  What has really started to irk me is its speed, it often holds up my pages slowing them down by a long shot.  So I have created a locally served Twitter Feed.  Which as a side line also backs up my Tweets, should those Twitter-Hackers ever actually manage to take down the site fully!  Yes Yes I am that sad as to want my Tweets backed up!

It makes use of a PHP Twitter class written by Tijs Verkoyen, which can be found via the Twitter API pages.  Otherwise it uses a basic MySQL database, actually only one small table which could be hosted on your sites main website.  The script to create the table is attached to the post. It was attached but WP seams to be playing silly buggers, will re-attach when sorted.

A separate PHP script is run server side every X minutes, to get the latest Tweets.  It only grabs new Tweets by ensuring that the Tweets it gets are after the last TweetID (id in table) from your database table.  Even pulling the maximum 200 tweets a time only takes a second.

Read the rest of this entry »