We examined whether and how an HIV prevention diffusion-based intervention spread throughout participants ' online social networks and whether changes in social network ties were associated with increased HIV prevention and testing behaviors .