I have a problem but I cant talk to any of my friends about it, so here I am

This sounds like something off of a bad sitcom.....Basically I got into a relationship with one of my friends because we were the only 2 people not dating someone else in the friend group. So we decided, why not and went for it. I actually really liked him, he liked my best friend who is in a relationship. We broke up because it was just very awkward. He keeps talking to me about how he really likes my best friend and I feel like shit. We also broke up because he was uncomfortable with the fact that I'm gender queer. I can't talk to any of my friends because they either are a part of it, I dont trust to keep my feelings a secret, or I'd be revealing someone else's secrets. So yeah. I just really wanted to get that off my chest. Thanks for listening.