As political expression on social media can harm public perception of scientists, strategies such as sharing research, separating personal and professional identities, and engaging objectively are ways that academics can use it effectively while preserving credibility