Government social-media managers have turned official feeds into streams of xenophobia.