This is bullshit. “Context” has to be the most vague and abused word in English. The article contradicts itself when they say “ One way to create a shared context is through shared struggle” which is a shared activity.
Friendships are formed through shared experiences. The more intense and positive the experience and its outcome, the more durable the friendship. Simple as that. Now go make friends!