And (while I’m not necessarily saying that Facebook, Instagram, or WhatsApp are fundamentally bad) the way history might judge people (such as your friends) would be in their response to finding themselves working at companies which could be considered morally dubious.
Do they deserve to be judged in 2020 for decisions they made 30 years before the clear effects of global warming were visible?
I would argue that yes, they do.
If Facebook is generally considered harmful (i.e. to society), and if they know that it's considered harmful, and they continue to work there, putting their limited time on earth to growing, enhancing, improving a service that is harmful, then they are bad people.
They can be good family people, good for their communities, but bad for society at large. Being good mothers and fathers, volunteering for neighborhood garbage cleanups, helping out in their church or mosque, that doesn't make their day job work not bad, or make them not bad for doing the harmful day job work. They can be both.
I for one couldn't look my children in the eye each night and say, "I did something harmful for society today, that is what afforded you a new Switch."
Not it shouldn't. We know that these companies are morally corrupt. When you sell your time to help grow these companies you are also morally corrupt. Simples.
I still wonder if AI giants like Yann LeCun and John Carmack should be considered evil cogs in the machine.