With a new confessional memoir and his growing social media presence, the actor is trying to reinvent himself for a new era of celebrity.