Trump has faced criticism for his unconventional use of the social media platform, especially following a volley of insults and accusations against journalists and politicians, including former US President Barack Obama, who he accused of wire-tapping his phones.

“Donald Trump’s approach to politics has been something that has gripped the imagination of people around the world,” said Johnson.

“He has engaged people in politics in a way that we haven’t seen for a long time, with his tweets and all the rest of it.

“I certainly wouldn’t be allowed to tweet in the way that he does, much as I might like to.

The foreign secretary’s comments come as he prepares to accompany Prime Minister Theresa May to Hamburg for the G20 summit, where it is expected she will have a one-on-one meeting with Trump to discuss issues including climate change and North Korea’s recent missile test.

May has previously been accused of cozying up to the US president as she failed to reproach him over his controversial policies, such as an order to ban people from seven Muslim-majority countries from entering the US.

She has, however, invited Trump to the UK, despite the threat of mass protests and a 1.8 million-strong petition calling for the invitation to be rescinded.

“We in the UK do not agree, by any means, with everything that Washington currently says,” said Johnson.

“Whether it’s on NATO, climate change, the Iran nuclear accord, it is the UK that is actually helping, we think, to mitigate, to get some of those American attitudes and policies that are currently coming out of the White House into a better place.

“If you look at the last 12 months or so there has been a great deal of progress.”