Information Dynamics and Political Attitudes in Online Networks