This is good advice for salespeople who need to strike up a rapport in a short amount of time. Real adult friendships are far more complicated due to the time investment required to actually build a friendship.
To add to this, adult relationships are shades of shared adversity, reciprocity, vulnerability, and demonstrating reliability. Avoid transactional behavior, put yourself out there, accept losses but be present in the positive moments.