The seemingly innocuous features we now take for granted on social media—the “like” and “heart” buttons that signal appreciation and affection, the swipe gestures that refresh the screen with new information, the “streak” counts that tally exchanges with friends, the infinite scrolls of stuff—are variations on psychological-conditioning techniques pioneered by slot-machine makers.