Social Media and the Social Contract

Does social media help cement and more closely bind together real world communities? Or does it just push us towards a more virtual community? What happens when people aren’t coming together in the actual physical public square anymore, but they’re coming together online?