first learn to develop a love for GOD, the life and blessings he's given throughout the years . I hate to sound like a bible thumper, and I don't even agree with some of the things in religion, but try praying ..just try it once and see how you feel...you can say a silent prayer in your heart or pray aloud.
THEN learn to love yourself, first and foremost . Depending on "friends" or any other human being for your happiness is a big mistake, because they are imperfect, and just as flawed ( if not more flawed) than you are believe it or not. Remember that all life is precious, even when we are in some our darkest moments, there's always a reason to hope. I think you need to focus less on winning friendship with others, more on yourself. Like look within you for the strength to go on and develop your faith and spirituality more . It's like a weapon you can use to fight off the negativity in your life, which all comes from the devil anyway . Hang in there buddy .