Using Linkedin API for data mining