Don't feel so down - many people are in your situation. I know that what I am going to say may sound not realistic to you, but I am hoping that you are aware enough to understand what I am trying to get accross.
Many people are unhappy yet instead of tring to find happiness inside them, they look for external things to make them happy. Girls usually go shopping and get depressed if their boyfriends look at other girls, guys show off their new cars and other boys toys and always want to find that perfect girl.
But that is an illusion, external things can make you happy for some time, but eventually that happiness will dissapear because it was not real in the first place.
When you try to find happiness inside you (through meditation, positive affirmations, focusing on good feeling thoughts) you will notice that you are becomming increasingly happier.
You will notice that the happier you become, the less friendships you need because you are not trying to prove anyone how nice you are. You do not need approval of others. You feel great in your own skin and do not try to pretend who you are not.
When this happens, your friends and people around you start noticing that you have changed and that you have become much more confident and happy. In no time you attract numerous girls, but you do not care about them as much as you did. You appreciate that they like you and you are able to select the one you really like and spend great time with her, but not getting overly obsessed with her, jealous or depressed when you cannot reach her. She is there for fun, and you start enjoying your life for real.
Have fun