Updated social media handler.