Should I be pissed?

I've liked this guy ever since I started school this year. We get along really well, and text often.
Anyway, I finally told some of my friends I like him. One of my not best friends but a friend found out. He decided to step in.
So he told the guy. 
I don't know exactly when, but I found out this morning. I talked with the guy before school (before j knew he knew) and as soon as I found out about it, he's been distant.
I'm afraid my friendship with this guy is ruined, and I really like him.
What should I do?
Is it valid to be mad at my "friend" for telling him?

Vote below to see results!