The diploma thesis explores whether different types of motivation (more specifically identified and autonomous motivation) positively affect an individual's level of participation in online communities. In the theoretical part, drawing from the self-determination theory, the two types of motivation are more indepthly addressed. Next, the argumentation is put forward in which the two types of motivation are defined as factors of online cooperation that is understood here as online collaboration. The empirical part presents the data collected with a web survey published in various groups on the social network site Facebook. The results of linear regression analysis have shown that identified motivation has a positive effect on an individual's level of collaboration in online communities. Conversely, this cannot be said for autonomous motivation, since among perceived autonomy and perceived relatedness that represent two dimensions of autonomous motivation, only for the latter a statistically significant positive impact was found.