President Donald Trump ripped Facebook on Saturday, saying on Twitter that the social media platform backed Democrat Hillary Clinton and that she had "spent hundreds of millions of dollars more" on the election that he did.

Here's the president's tweet:

Crooked Hillary Clinton spent hundreds of millions of dollars more on Presidential Election than I did. Facebook was on her side, not mine! — Donald J. Trump (@realDonaldTrump) October 21, 2017

Facebook and Twitter have become the focus of investigations by the Justice Department and Congress — and The Washington Post reported last month that a Russian "troll farm" spent $100,000 on ads on the site.

Brad Parscale, who directed Trump's digital strategy during the campaign, told "60 Minutes" earlier this month that Facebook was critical to the Republican's victory in November.

"I understood early that Facebook was how Donald Trump was going to win," he told CBS correspondent Lesley Stahl. "Twitter is how he talked to the people, Facebook was going to be how he won."

A Facebook representative said Thursday that the company's general counsel would testify before congressional committees in their probes into Russia meddling, The Hill reports.

In addition, a Bloomberg News analysis showed that Clinton and her super PACs raised $1.2 billion, versus $646.8 million by Trump.

Clinton also outspent the Republican candidate, $969.1 million to $531 million, according to Bloomberg.