WASHINGTON — Melania Trump didn’t know that her personal Twitter account liked a tweet about a wall being “built” between her and the president, the White House said Wednesday.

“The first lady wasn’t aware of this until I brought it to her attention,” Trump’s spokeswoman Stephanie Grisham told The Post.

Grisham said it wasn’t clear if the first lady’s personal account had been hacked or if a person with approved access to the account had liked the tweet.

“Who knows … it isn’t her primary account these days,” she said, noting that the account’s password has since been changed.

“Seems the only #Wall @realDonaldTrump’s built is the one between him and @FLOTUS #Melania #trump,” read the tweet by Andy Ostroy, a self-described marketer and producer from New York.

The tweet was liked by Melania’s verified personal account, but not her official government first lady account, @FLOTUS.