Facebook apologises for ‘mistakes’ with user data