Unfaithful Flirt or Social Butterfly

I recently graduated college and have been feeling a little down lately mostly because being constantly put under stress and my anxiety has been really bad. I haven't been able to be myself in a long time. I haven't gone out in awhile, so My boyfriend and I went to a couple of bars last Friday with his two friends and the one's girlfriend. The night started out pretty boring, but once the alcohol started kicking in I was dancing and finally starting to let loose, for the first time in awhile. Of course the moment I start to enjoy myself, my boyfriends friends want to leave. The other girl claimed she wanted to stay and dance too, but we were forced to leave and go to a much calmer bar. I was pissed and decided I wanted to talk to other people because I was so bored. I picked a random table to sit at and it was two guys sitting there. They were sitting next to each other across from me and I was sitting legs and arms crossed with only my head turned toward them. My boyfriends friends told him that I was flirting right in front of him and now are basically trying to convince him to leave me. I understand why he may have been upset that I was sitting with two guys, but I had absolutely no bad intentions. My body language wasn't even facing the guys-but does this mean I'm not allowed to talk to anyone except the people I came with when I go out? I personally think they're over reacting and his friends are treating me poorly. I'd like to hear some feedback