Scalable Link Prediction and Fake Profile Detection in Online Social Networks