I'm not a good friend.
Why do you not feel that you are a good friend?
I talk about myself a ton but do not really listen all that well to what other people are saying.
You are behaving in a selfish and vain manner towards other people. Try to be more understanding of other's feelings and  recognize your own behavior to prevent it from occurring so often.
There's nothing wrong with me. I'm popular and people like me.
Well you should just try and do a better job to listen. It may be difficult for you to keep your friends if you continue to treat them so dismissively, so it is important that you do your best to fix and alter this behavior.