Maybe this used to work, but it no longer does. I'm a regular at several local hangouts, hit the gym several days a week, and go out to other activities regularly. I rarely have conversations with anyone beyond perfunctory pleasantries with the staff. Neither does anyone else; since COVID people almost exclusively stick to themselves or the group they came with.
There's been the odd occasion where I do get someone's contact info like the article suggests. So I text and the conversation tends to be some variation of "I'm busy the next couple of weeks, I'll text when I can hang out!" Of course they never do. Following up yields the same result and also reeks of desperation, so I no longer do that.
Meanwhile people seem to regard friendships as disposable lately. Within the past year I've been repeatedly ghosted and excluded from activities by longstanding friends for some perceived offense that I only found out about secondhand weeks later. Apologizing had no effect, and I regret doing it.
So now, I have almost no friends in my current town aside from my spouse, and rather than continue on with this charade we have decided to move back east - where probably the cycle will repeat itself, but at least in a more familiar environment where socializing is slightly easier.