To get friends, spend more time around people, join an organization or club with people who have common interests and join a sport team. To have friends, you must be around people so you can learn their behavior. Go to http://www.wikihow.com/Make-Friends for details.
sounds (reads) like you've gotten good advice allready. now just follow through with it and you can't miss. you'll have lots of friends, pretty quickly too! although, at the time it might seem to be taking forever, one day you'll realize how many people like you, and it really wasn't that long. good luck,everyone needs friends, and you'll get 'em!