To bond with someone instantly over a playful sense of humour.
They share a whimffinity no-one else understands, that's why they're the best of friends!