Facebook will tighten its requirements to place political advertisements on its platforms and officially endorsed bipartisan legislation in the Senate that would regulate online ads, Mark Zuckerberg, the company’s chief executive, announced Friday.

Zuckerberg’s announcement came four days before he is scheduled to speak to lawmakers in Washington.

In a Facebook post Friday, Zuckerberg officially endorsed the Honest Ads Act to regulate digital ads that could appear across the internet — including on social media like Facebook and Twitter.

GOP Sen. John McCain of Arizona and Democratic Sens. Mark Warner of Virginia and Amy Klobuchar of Minnesota introduced the bill last October.

The bill aims to levy regulations for online political advertisement into lockstep with existing ones for television and radio.