PolitiFact (Jeff Cercone) has the story; I am one of the experts. An excerpt about the facts:
After Iran launched a barrage of missiles at Israel on April 13 in its first direct military assault on the country, Sen. Rick Scott, R-Fla., told his X followers why he thought former President Donald Trump should be reelected.
"This is the strength we need back in the White House!" Scott wrote April 13, sharing a July 22, 2018, tweet in which Trump threatened Iran's president. Trump later that day shared a screenshot of Scott's post on Truth Social , without further comment.
Trump's sharing of Scott's post led several X users to accuse the former president of violating the Logan Act, a 1799 law that bars private citizens from communicating with foreign governments to influence them about disputes with the U.S.
My thinking, from my e-mail to the PolitiFact writer (which was largely quoted in the post):