Former president Barack Obama: 'Think before you tweet'

Julia Fair | USA TODAY

Former president Barack Obama seemed to poke at his successor on Friday when he suggested one should think before one tweets.

“Michelle was giving the general idea... that don’t say the first thing that pops in your head. Have a little bit of an edit function... think before you speak, think before you tweet," Obama said at the Hindustan Times Leadership Summit in New Delhi, according to the Associated Press.

The advice came as Obama elaborated on comments previously made by his wife, Michelle Obama, when she was addressing the Obama Foundation Summit in Chicago.

She said it was "never a good idea" to broadcast your first thoughts in the morning on social media.

"You don’t tweet every thought,” she said. “And I’m not talking about anybody in particular. I’m talking about us all, because everybody does that.”

Though she said she wasn't referencing anyone specifically President Trump often goes on early morning tweetstorms.