Facebook will investigate apps’ data access following ‘breach of trust’