Girls, Is this flirting if yes should I get her number via a friend?

A week ago my friend was talking with a girl. after my friend left. the girl walked the same way as me and started talking to me. after that she randomly hit me (i barely felt it) and it actualy hurted her instead of me. after that she pointed her middlefinger because of that, and i pointed mine aswell and laughed. she laughed back at me. now was that flirting or what?( by the way we dont know each other personaly)

Girls, Is this flirting if yes should I get her number via a friend?
Post Opinion