A former campaign aide for Barack Obama has warned that President Donald Trump's quick-fire use of Twitter could eventually be his undoing. Lis Smith, former director of rapid response for Obama's campaign, said Trump having a "full-out meltdown" on Twitter does not help his case.

Over the weekend, Trump posted a series of eyebrow-raising tweets after his former national security adviser Michael Flynn pleaded guilty to lying to the FBI - the latest development in special counsel Robert Mueller's ongoing investigation into Russian interference in the 2016 election and possible ties between Trump's team and Moscow.

"I had to fire General Flynn because he lied to the Vice President and the FBI. He has pled guilty to those lies," Trump tweeted on Saturday. "It is a shame because his actions during the transition were lawful. There was nothing to hide!"

The tweet immediately came under scrutiny with legal experts pointing out that it suggests Trump knew that Flynn had lied to the FBI when asking then FBI director James Comey to drop the investigation. Comey, who was fired by Trump in May, testified to Congress that Trump asked him to "go easy" on Flynn.

Legal experts said Trump's tweet raised serious questions of obstruction of justice.

However, Trump's lawyer John Dowd said he wrote the tweet and that it was his "mistake" that the president sent it out. Many people questioned this claim saying any lawyer worth his salt would have written "pleaded" and not "pled" in the tweet.

Trump later proceeded to lash out at Hillary Clinton and the FBI arguing that the bureau's reputation is in "tatters" because of Comey.

"He's clearly trying to say 'Hey, nothing to see here'," Smith said on MSNBC. "But having a full-out meltdown on Twitter is not helping his case. Generally if you're doing all caps and exclamation points, it is the opposite of inspiring confidence."

Trump has long credited social media for playing a key role in winning the 2016 presidential election. However, he has also drawn flak for using Twitter to push his agenda, attack critics and rivals and make controversial statements.

"What's sort of ironic about this whole thing is Donald trump always likes to say Twitter helped make him become president, but Twitter could actually now be the undoing of his presidency, Smith said. "I would advise everyone around Trump to to try to just rip that phone out of that man's hands because he is not helping his case or the White House's case here with this."

donald trump
A former Obama campaign aide has warned that US President Donald Trump's tweets could be the undoing of his presidency MANDEL NGAN/AFP/Getty Images