From Facebook to Twitter to YouTube, social media platforms are transforming communication and internet culture, even as they raise privacy concerns for users.