The methodology in this paper is a step above simple correlation analysis. Facebook in its early rollout period was released to some universities & colleges and not others. This study compares the increases of depression & anxiety in the schools where Facebook was made available vs schools where it wasn't.
Of course, it'd be nice to see if the difference in increased rates of depression & anxiety are themselves abnormal in the first place... Not sure if the study goes into that depth.