So a few weeks back, I was really frustrated realizing that there were two places I needed to upload my pictures online, once to my personal Gallery2 album and then again to Facebook. Uploading identical sets of images twice was unacceptable for me, so I decided to write a Facebook app that would integrate the two. After fumbling around the Facebook API and Gallery2's db, results were good.

In simple, the Facebook app pulls the album list from my Gallery2 db and publishes them as thumbnails to my Facebook profile. The hardest thing was finding my way around Gallery2's SQL Database, what a mess.

Now my problem is solved, and on top of that it was pretty cool learning how the Facebook API works, quite an interesting mechanism.

Update Dec 4, 2009: I took the onsite Gallery installation down after security concerns.