Predicting friendship strength for privacy preserving: a case study on Facebook