Politicians in both parties, technologists and even a former Facebook executive blasted the Federal Trade Commission on Wednesday for its $5 billion settlement with the social media giant.

Critics took aim at the size of the fine, the lack of personal accountability leveled at any Facebook executives, the decision to offer immunity to past privacy violations, and the absence of consideration for ensuring that the company could not use the FTC's rules to stave off competition.

Sen. Ron Wyden, D-Ore. called the agreement, which also forces the company to set up an independent privacy oversight board, a "sweetheart deal."

"For a mere fraction of Facebook’s annual revenues, the FTC has given Facebook and executives like Mark Zuckerberg and Sheryl Sandberg blanket immunity for violations of the law that we know about, and even for potential crimes that are still unknown," Wyden said in a statement.

Sen. Josh Hawley, R-Mo., a vocal critic of Facebook and digital advertising, said in a tweet that the FTC settlement "utterly fails to penalize Facebook in any effective way."

"This settlement does nothing to change Facebook’s creepy surveillance of its own users & the misuse of user data," Hawley wrote. "It does nothing to hold executives accountable."

The settlement, which Facebook tipped in April, includes a record-setting fine for privacy violations, though the $5 billion only amounts to less than 25 percent of the company's 2018 profits. And while the company will need to submit to a new oversight board, its advertising business will not have to make any major changes.

4) If this were a game of chess, Facebook just checkmated FTC, flipped the board so it couldn't be played again, and covered the whole thing up with a blanket.... #FacebookVFTC — ashkan soltani (@ashk4n) July 24, 2019

That business may in fact be made stronger by the FTC's settlement. Alex Stamos, a former chief security officer at Facebook, wrote on Twitter that the ruling may effectively ensure that Facebook never has to let another company use its social graph — the framework of friendships and interests made on the social network.

"Facebook paid the FTC $5B for a letter that says 'You never again have to create mechanisms that could facilitate competition,'" Stamos, who is also an NBC News contributor, said.

As state and national politicians have grown more skeptical of Facebook and other major tech companies, they have also had to confront the reality that their options for investigations are limited. Some states have recently put in place digital privacy laws, but broader oversight relies on rules and regulators best geared toward older industries.

The FTC is the federal government's primary business regulator, with a remit to protect consumers from anti-competitive, deceptive and unfair business practices, but consumer advocates argue that it has not been effectual since changes put in place under the Reagan administration.

This fig leaf deal releases Facebook without requiring any real privacy protections—no restraints on data use, no accountability for executives, nothing more than chump change fines. Facebook will never reform until forced to. — Richard Blumenthal (@SenBlumenthal) July 24, 2019

FTC Chairman Joe Simons defended the agency's settlement, arguing it was a "real-world choice" and noting that a court battle could have taken years.

"We don’t have the authority to fine Facebook ourselves," Simons told CNBC in an interview. "We have to go to court to do that and it’s very unlikely that if we went to court, that we would get anything near $5 billion dollars. So this is the choice we have and we think this is a great result given our circumstances.”

Rohit Chopra, one of the FTC's two Democratic commissioners, did not agree. In a thread of tweets, Chopra pointed to the company's rising stock price as proof that the fine was ineffectual.

"Breaking the law shouldn’t be profitable," Chopra tweeted. "$5 billion is a lot, but Facebook can pay out of its profits."