views:

271

answers:

2

I'm developing a website using the Django framework, and I need to retrieve Jabber (okay, Google Talk) statuses for a user. Most of the Jabber python libraries seem like an incredible amount of overkill (and overhead) for a simple task. Is there any simple way to do this?

I know very little about XMPP/Jabber, though of course I'm willing to learn. Do you need to be an authenticated and "friended" user to retrieve another user's status?

A: 

I recommend checking out Google AppEngine's XMPP API (Django runs on AppEngine, too). AFAIK you have to be authorized to check a user's status.

stefanw
That looked like a good bet, until I scrolled down: An app can only query the status of Google Talk users, and only those that have "subscribed" to the app. There is no way for an XMPP service to query the status of users on other XMPP services.I wonder if that means what I'm trying to do is impossible? It can't be quite, because Google does it for Buzz... Troubling.http://code.google.com/appengine/docs/python/xmpp/overview.html#Google_Talk_User_Status
stillinbeta
A: 

Do you need to be an authenticated and "friended" user to retrieve another user's status?

Yes.

To get the status of a given user, you should write a jabber bot and the user should add your bot as a friend. Then you would be able to get the status of that user. FriendFeed and other services do that.

Google Buzz is from Google, so they already have access to your chat status...

DZPM