I feel the need to constantly have my best friend's attention.
Really? Why do you feel you need to constantly have their attention?
I feel better about myself when someone is paying attention to me.
It's natural to want attention sometimes but wanting attention all the time is a problem. You shouldn't need the attention of others to validate yourself.
Nothing's wrong with my habit. I'm just a needy person these days.
Being needy sometimes is understandable but you should still try your best to find validation within yourself. Wanting more attention than normal sometimes is fine, and everyone goes through that sometimes. But when it becomes something, you need all the time then it's become a problem.