There are 4 options: CMS with a social network extension, SaaS Solution for a social network, open-source software, and to make it from scratch