social media engagement and refactoring