Behavioral patterns in social networks