If social media is bad for kids, should we post their photos online?

Questions are being asked about the ethics of "sharenting" - parents sharing their children's lives on social media.