A P40B survey on social networking