13 August 2007

Closing down

Well, I've had fun posting here on Blogger, but I've had my own website for some time now, and I've decided it's time for me to host my own blog. I'll keep this one up, but will no longer post here. From now on, I will only post at Dan's Musings, which is powered by the Serendipity Weblog System.

Any followers I have I hope will follow me to my new blog, which I intend to update more often than this one.

08 August 2007

Twitter2Facebook

One of these days, I promise I'm going to write about something other than my Greasemonkey scripts. Today, however, will not be one of these days.

I recently subscribed to Twitter, which is a social networking site dedicated entirely to tell your friends what you're doing. Well, I decided it would be great if I could keep my Facebook status set to my Twitter status. I thought this would be a good idea because I can set my twitter status from just about anywhere (even Facebook). I began to search and found a couple programs (e.g. this really nice ruby script) that could be run in the background on your computer and would do exactly this. The only problem with them was that they all would log you out of another facebook login. This is fine if I'm not actually on my computer, but if I'm on my computer using Facebook, I wouldn't want this.

So I decided to write another Greasemonkey script for Facebook that would do it in your browser, with your already logged-in facebook session.

This script will check your Twitter status every time you go to the Facebook homepage, and if it's different than your Facebook status, it will update your facebook status with your current twitter status.

I hope you enjoy it.