In his inaugural address on Jan. 20, President Trump said he would be a leader for the entire nation.

“So to all Americans, in every city near and far, small and large, from mountain to mountain, from ocean to ocean, hear these words: You will never be ignored again.”

But so far on Twitter, the president’s preferred method for speaking directly to Americans, Mr. Trump has lavished praise, thanks and support exclusively on states he won. Since the 2016 election, he has written at least one positive tweet about 19 of the 30 states that voted for him.

Mr. Trump has called 14 of the states he won “great” or “wonderful,” sometimes more than once, in a total of 25 tweets. (Ohio leads the pack with six “greats” in four tweets.) He has never written a negative Twitter post about a state he won.

The only time he has tweeted about states that he lost was to accuse them, without evidence, of voter fraud.

He has said nothing negative or positive about 28 states — 11 that he won and 17 that he lost.

Arkansas, Colorado, Connecticut, Delaware, Georgia, Hawaii, Idaho, Illinois, Maine, Maryland, Massachusetts, Minnesota, Mississippi, Montana, Nebraska, Nevada, New Jersey, New Mexico, New York, North Dakota, Oklahoma, Oregon, Rhode Island, South Dakota, Utah, Vermont, Washington, Wyoming

This difference is also stark in his response to several recent natural disasters.

His recent attacks on the commonwealth of Puerto Rico, where he lost the Republican primary to Marco Rubio, stand in sharp contrast to his frequent and supportive posts about states that were also hit hard by hurricanes and that he happened to win: Florida, Louisiana and Texas.

A day after facing criticism for his tweet about Puerto Rico, President Trump paid the island’s citizens a compliment while disparaging the island’s situation prior to the storm.

In addition, as of Friday night, he had not voiced support on Twitter for Californians dealing with the deadliest wildfire outbreak in the history of the state, which voted for Hillary Clinton. He tweeted that his “thoughts and prayers” were with the “great people of Tennessee” on Nov. 29, 2016, soon after wildfires started there. In remarks before a ceremony at the White House this past week, he addressed California’s disaster and called it a “great state.”