Collective decision-making processes in online social networks