Facebook has said “almost 50 million” of its users were left exposed by a security flaw.
The company said attackers were able to exploit a vulnerability in a feature known as “View As” to gain control of people's accounts.
The breach was discovered on Tuesday, Facebook said, and it has informed police.
Users that had potentially been affected were prompted to re-log-in on Friday.
The flaw has been fixed, wrote the firm’s head of security, Guy Rosen.
"Since we’ve only just started our investigation, we have yet to determine whether these accounts were misused or any information accessed. We also don’t know who’s behind these attacks or where they’re based. “
He added: "People’s privacy and security is incredibly important, and we’re sorry this happened."
Have your say
More Technology Headlines
- Tech Thursday video: Did you know using a laptop on your lap is dangerous?
- 5 digital trends set to dominate in 2019
- Facebook's 10-year challenge is just a harmless meme, right?
- YouTube bans dangerous or harmful pranks
- Top 15 free movie download websites for 2019
- Instagram's most-liked post is now just an egg, sorry Kylie Jenner
- Ghanaian researchers introduce new vitamin A improved, orange-coloured maize
- 20 Ghanaian women to be selected for tech start-up
- Russia loses control of orbiting Spektr-R space telescope
- Apple planning to release three new iPhones in 2019
- Chinese schools track students with GPS-enabled “smart uniforms”
- Hacklab Foundation to Extend IBM Digital - Nation Africa Program to Ghanaian Youth
- Mark Zuckerberg wants to save the world from problems he helped create
- Breath-test gadgets tell you what to eat
- Samsung adds rival Apple's iTunes to TVs