To get along well with people, one shouldn’t have an ego or boast about oneself.
You can get along well with people and be liked when you are not opinionated, and when you can sincerely accept what others say.
It is easy to get along with others after eliminating the narrow mind and changing to the mind of the world. You just have to discard the self-centered mind.