U.S. President Donald Trump has taken another swipe on Twitter at his French counterpart Emmanuel Macron prompted by Macron's woes over violent protests against fuel taxes.

"I am glad that my friend @EmmanuelMacron and the protestors in Paris have agreed with the conclusion I reached two years ago," Trump tweeted late on Tuesday.