Judge tosses lawsuit against Facebook over use of minors’ photos