Facebook said that while it was able to stop the bug on May 22, it couldn't switch all of the posts to private until May 28.
'We recently found a bug that automatically suggested posting publicly when some people were creating their Facebook posts, ' Facebook's chief privacy officer Erin Egan said in a statement to Mail Online.
Spotted by Recode, posts from up to 14 million Facebook users that had their content set to be shared privately was changed to be publicly seen.
The company is also still recovering from the Cambridge Analytica scandal, in which a Trump-affiliated data-mining firm got access to the personal data of as many as 87 million Facebook users.
In response to the problems, the company has added a number of new privacy controls, as well as a centralized page for privacy and security settings.
Facebook said a software bug was behind the glotch which saw users' private posts made public over several days last month. In the meantime, Facebook has set any public posts from that period to users' previous default settings, meaning that even users who meant to make posts public will need to reset them to be globally accessible. Even if a user had set their default sharing option to "friends", the bug changed the setting for affected users to "public".
Facebook's latest privacy bug is another result of the platform moving a little too fast......
Facebook, which has 2.2 billion users, says the bug was active from May 18 until May 27. And while the bug was only in effect for a few days, it's an example of how many different settings users have to be aware of on Facebook.
For those who are affected, Facebook will be displaying privacy notifications that appear when a user logs into Facebook via the web or mobile app. The news prompted swift response from lawmakers who asked Facebook for more information on those partnerships, and raised further questions about whether Facebook has violated a privacy agreement it had made with the government in 2011.