Time and Space. And no that was not a Sci-Fi reference.
Patience and forgiveness is super important for any relationship. Leave him alone for a month or two (don't devoid yourself from him, if contact occurs, let it occur) and then give him a call or send him an e-mail just to say hi. Don't press anything emotional on him. At som point you may have a conversation about your friendship, and just let him know you want to be friends, however it may turn out. Again, don't put any emotional pressure on him if he needs to recover.
Also, if he really has no interest in being your friend anymore, then don't persist, and don't get down. There are so many people out there who would give you love and comfort, and you just have to find them, or they may come to you.
Again, patience.

Disclaimer: I have NOT written a help guide, do not take my words as concrete help. Take them into consideration.