A machine learning framework for security and privacy issues in building trust for social networking