Phone books were sanitized. City directories would list occupations and they would be by area/address, so you could find neighbors.
Also, newspapers would report on the doings of ordinary people, not just the society pages, e.g. "John Smith was in town today from Peoria, visiting friends for three days."