Indeed they were.
Also, it’s interesting to note that in both cases they where two very lean companies (Instagram had 13 employees and WhatsApp had 55) with pretty a pretty large and engaged user base (30 million for Insta and 450 million for WhatsApp)