I applaud you for being open and honest with the friend, even if he wasn't able to reciprocate the feeling, that took courage.
Love is worth the risk sometimes and I hope that next time you take that risk, that it comes back to you
It will! Give it time....