Honestly it feels like he smudged over the details, but your original article did mention it.
So basically he posted a ton of videos, someone recognized the girl, told the mother, presumable she told the police, and they were able to identify him from the videos and seven eleven footage.