To fetch the data from facebook.