Yawn. mixi.jp was doing Facebook before Facebook was widely available. It even had the much-vaunted news wall. Mixi screwed themselves in a few ways, mainly by being a Japanese-only site and (later) requiring a Japanese phone number to register, but still, Facebook was hardly an innovation. Mixi was written in Perl. (In fact Mixi has/had features which even now I've never seen in social media sites, such as the "ashiato" feature where you can see who has been looking at your profile)