100% this. Everyone is weird in some way, so the best way to make friends is to put your best features forward and hide your weirdness a little bit. People will want to interact with you for the parts of you that you put forward, and as you meet them, you can show them your weird side. And, hopefully, they'll show you their weird side. The people that tolerate your weirdness will be your acquaintances. The people that love your weirdness will become your best friends.
But all that said, sometimes, you will just not jive with certain people. No reason in particular, no fault of either involved, that's just how it is. Best you can do is keep looking for new friends.