Regulator says Facebook accessed users’ photos without specific consent, affecting around 20 million people.