from the desk of aniketh

code and ideas

Archive for February, 2010

Post your Gtalk/Jabber Status Automatically on Twitter

with one comment

If you need to post you google talk, or for that matter any jabber service, automatically to twitter, then have a look at my code over at http://github.com/aniketh/jabber-global-status

The list of commands that the server supports are :
add
- this command adds the users twitter credentials to the server

start
- starts auto-tweeting of users IM status message

stop
- stops auto-tweeting of users IM status message

tweet
- posts the message as a twitter update

del
- deletes user twitter credentials from the system

This code is basically just a combination of the xmpp php library and a twitter class for php. The biyly url shortening service has also been tied in just for completeness.

Written by aniketh

February 3rd, 2010 at 2:14 am

Posted in Uncategorized