There should be safeguards either way, but it seems that most articles and posters are assuming that it was. I can imagine a number of ways to accidentally or automatically sync photo albums to Facebook, and this is one of the main reasons I don't have it on my phone.
Similarly, if the privacy breach was intentional, I would have guessed the techs would have downloaded the content and done something that was less obviously traceable to them.