It's hard to know how to behave as everyone is different. Needing friendship is not necessarily the same as being too 'needy' it's give and take that's important. I think there is not much point in trying to be someone you're not in any friendship or relationship as they will soon find what you are like anyway. Be yourself and you will find people who like you for who you are some will be short term and some will stick around longer. Best wishes in the ups and downs of friendship and break ups it's what makes life worth living.
