Earlier quoted context omitted.
If you think that flirting can be mistaken as sexual harassment then that tells me you have no idea how to flirt.
It is harassment when 30 random guys are constantly piling on unwanted flirt after unwanted flirt.
Intent matters a whole lot and their intent is not to harass you but rather to reach out and probe for your potential interest.
Accusing people of harassment, for simply trying to approach you, is imho a seriously crappy thing to do and very unreasonable.