Effects of user behaviors on accumulation of social capital in an online social network