NEW YORK (AP) — Facebook says hackers accessed data from 29 million accounts as part of the security breach disclosed two weeks ago, fewer than the 50 million it initially believed were affected.

The hackers accessed name, email addresses or phone numbers from these accounts, according to Facebook. For 14 million of them, hackers got even more data, such as hometown, birthdate, the last 10 places they checked into or the 15 most recent searches. One million accounts were affected, but hackers didn’t get any information from them.

READ MORE: COVID In MN: Masks No Longer Required For Student-Athletes Competing In Outdoor Sports, Practices

Facebook isn’t giving a breakdown of where these users are, but says the breach was “fairly broad.” It plans to send messages to people whose accounts were hacked.

Facebook said third-party apps and Facebook apps like WhatsApp and Instagram were unaffected by the breach.

READ MORE: 'It Could Be A Different Place': How Climate Change Could Affect Lake Superior's Future

Facebook said the FBI is investigating, but asked the company not to discuss who may be behind the attack. The company said it hasn’t ruled out the possibility of smaller-scale attacks that used the same vulnerability.

Facebook has said the attackers gained the ability to “seize control” of those user accounts by stealing digital keys the company uses to keep users logged in. They could do so by exploiting three distinct bugs in Facebook’s code. The company said it has fixed the bugs and logged out affected users to reset those digital keys.

At the time, CEO Mark Zuckerberg — whose own account was compromised — said attackers would have had the ability to view private messages or post on someone’s account, but there’s no sign that they did.

MORE NEWS: TurnSignl App Aims To Help Everyone Get Home Safely After Traffic Stops

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)