Forget about those Like buttons. Facebook is all about true love.

The embattled social media company, under fire in recent months over data privacy worries, plans to launch a new dating feature, CEO Mark Zuckerberg announced on Tuesday.

READ MORE | Facebook CEO announces way to clear history

But this feature is "not just for hookups," Zuckerberg said to laughs at the annual F8 developer conference on Tuesday. He wants the tool to help users build "meaningful, long-term relationships."

Zuckerberg also nodded to the safety fears that have plagued the company since the Cambridge Analytica scandal, insisting his team had "designed this with privacy and safety in mind from the beginning."

"Your friends aren't going to see your profile, and you're only going to be suggested to people who are not your friends," Zuckerberg said. Tinder, a popular dating app, makes a similar pledge to its users.

Chris Cox, Facebook's chief product officer, took the stage to lay out how the unnamed feature would work, using a presumably fictional woman named "Jennifer" as his case study:

The design mock-ups on the giant screen behind Cox resembled the user interfaces of other dating apps, like Bumble and Tinder. But the Facebook version, Cox said, would be integrated into standard features like events and groups.

"We like this, by the way, because it mirrors the way people actually date, which is usually at events and institutions that they're connected through," Cox said.

Anyone using Facebook's dating feature would have the option to "unlock" their profile — making it visible to, say, other people attending an upcoming event.

The social media giant will announce a launch date for the feature later this year, Cox said.

The move was hailed by Justin Rosenstein, the former Facebook engineer who created the Like button. He said the idea was "beneficial for the world."

"I have a theory that a lot of war and bad things going on are all actually the result of people being insufficiently loved," Rosenstein told NBC News.

Facebook's dating feature, assuming it wins the hearts of its users, could eventually pose a major threat to rival sites like Match.com.

On the heels of the announcement, stock in Match Group — the company that owns Match, Tinder and other dating apps — dropped some 17 percent.