A few years ago, when Leslie K. John was a doctoral student at Carnegie Mellon University, a classmate introduced her to a then-nascent website called Facebook. John took a look, scrolling through page after page of photographs, personal confessions, and ongoing accounts of people’s every move. She found the whole thing perplexing.