Facebook has said it now believes up to 87 million people's data was improperly shared with the political consultancy firm Cambridge Analytica.

Here's what we know so far about how the controversy occurred.