The Sorrow and Bliss author on social media, shame, and why her new novel Sophie, Standing There almost didn’t happen