Study links social media to violence