The article had a straightforward description of the resort. “When socialite and cereal heiress Marjorie Merriweather Post built Mar-a-Lago — Spanish for ‘Sea to Lake’ — in 1927, she spared no expense,” it said. “The 114-room mansion sits on eight hectares of land, with the Atlantic Ocean on one side and an inland waterway on the other.”

It went on to say that Ms. Post willed the estate to the federal government, hoping it would become a vacation home for presidents. But when no president used it that way, the government gave it back. The article noted that Mr. Trump bought the estate in 1985; he opened it to dues-paying members in 1995. His visits there have “finally” fulfilled Ms. Post’s dream, the article stated.

On Twitter, the article quickly became fodder for critics.

“As the WH plans deep cuts to hunger programs and foreign aid, so nice to see taxpayer money being used responsibly...to promote Mar-a-Lago,” wrote Representative Mark Takano, Democrat of California.

Senator Ron Wyden, Democrat of Oregon, said on Twitter, “Why are taxpayer $$ promoting the president’s private country club?” He later posted the article, saying, “Here’s the full post in its kleptocratic glory.”

At an afternoon briefing at the State Department, Mark Toner, a department spokesman, said he had no information about why the article was created and posted by embassies around the world. After a quick check, posts were seen on embassy websites and Facebook pages in Britain and Albania.