Messenger Presence API Exposed }:)

Today has been a great day, Messenger control for web plus presence API. The second one was a simple URL to query and get a user's online status image. Not bad... but could be better!

Playing a bit, I found that you can get the full JSON of the presence API, like this example:



status: "Away", icon: {
height: 16, url: "", width: 16
}, statusText: "Away", id: "", displayName: "Kartones :: .Code :: 4.95T"

Uhmmm, more interesting, no? We can get the status text, image url, and even the display name! Much better for mashups and gadgets!

So, by building a small AJAX proxy (like the Twitter badge one), PedroA (who is becoming the JSON master) and I can query for our "full" status and handle it with JSON.

We've uploaded a small demo here: //
Note: you must have opted in to show web presence in order to see your status.

Or you can see my actual Messenger status in this blog, near the bottom of the left sidebar. Nice :)

Posted by Kartones on 2007-11-07

Comments? Share via Twitter Share via Linkedin