best CMS to build a social network

i need a cheap cms to build good social network,but like instagram nothing special ,or maybe with 1 function more than has instagram….for now i using wordpress,but idk ,,,i saw for joomla what do you think :)?