I went to an all boys boarding school where I wasn't liked at all. Fortunately I had an inner life and inner integrity that enabled me to survive.
Of course I love people to like me, but if they don't, I always have an inner place to retreat to.
And having an inner retreat enables me to start to see people as they really are. And I have found that each person is more interested in themselves than they are in me.
And in a way this frees me to be myself. For when I am not liked, I know it doesn't have much to do with me but is more a reflection of the person themselves.
And of course love loves love. So when you love with courage, you are often loved in return.
And not needing to be liked, but simply liking to be liked, enables you to step outside the taken-for-granted into ecstasy.