when you have nothing,,, GIVE. look for someway you can help others. it may not bring you friends, but it will give life some meaning, and you some self esteem, and that is the kind of person people want for a friend.
i know it's hard to get out when one is depressed, so maybe there is something you can do online. helping tutor home schooled kids, or answering letters for a charity~ explore your own interests and the opportunities in your community and focus on helping others. i found it was one of the best ways to help myself at the same time.
best wishes~
Gus