The article makes a claim with a very unsubstantiated sense of certitude:
> Matt’s two comments, along with other data points ... led Facebook to estimate that if you lined a hundred people with characteristics identical to Matt’s, a significant number of them will be closeted gays
At best, the article can state Facebook might have estimated that Matt was a closeted gay. I seriously doubt that. Facebook (on the ad manager) only estimates that 14 million people are interested in the "Gay" topic. And it only estimates that 4 million are interested in the LGBT topic. Looking at those numbers, those figures are probably drawn off like pages. Even if Facebook were trying to sneakily indirectly profile everyone, they're doing a bad job of it.
The more likely explanation is that this is a coincidence due to someone targeting their ads at people interested in liberal politics (which Facebook would know from liking a politician).
The paranoid, Occams-razor-butchering explanation is the one the article gives.
I'd wager that for every closeted gay that was targeted this ad, 50 other not closeted-gays saw this ad and thought it was weird and then moved on.