People hate me these days, because I accidentally outed my former best friend
That's not cool! Why did you out your friend?
I felt like he was talking down to me.
Even if your friend was being disrespectful to you, it is wrong to reveal a secret that they trusted you with, because this has much greater consequences for them. It is reasonable to expect that your friend will be mad at you for outing his secret.
I didn't like this friend anyway since he has been an asshole to me.
Did you out them for revenge? I understand the frustration you must of felt from being treated poorly, but telling their personal business to the world is not a great way to get even. You'll feel better about yourself if you just stop spending time with them instead.