You should look into diaspora, an open-source decentralized social network. IMO diaspora has formidable foundation and interesting content. Highly recommend. However, as Eben Moglin said, the next facebook should never happen.