Parse social media attributes from url or construct url from attributes