Former President Obama is offering advice to his successors, including warning against "opinion wrapped up as fact" and an overexposure to social media.

While delivering remarks at a Wednesday tech conference hosted by Splunk, a data company based in San Francisco, Obama said it is helpful for any president to "make sure you have a team with a diversity of opinion sitting around you," Markets Insider reported.

ADVERTISEMENT

"The other thing that's helpful is not watching TV or reading social media. Those are two things I would advise, if you're our president, not to do," he continued, adding that "it creates a lot of noise and clouds your judgment."

President TrumpDonald John TrumpPelosi arrives in Jordan with bipartisan congressional delegation Trump says his Doral resort will no longer host G-7 after backlash CNN's Anderson Cooper mocks WH press secretary over Fox News interview MORE is an avid Twitter user who pays close attention to what airs on cable news, often praising or criticizing stories on Fox News or CNN.

Obama went on to say that it’s important for a president to have a team that provides adequate information when tasked with resolving a problem, according to Market Insider. 

“Then what you have to do is create a process where you have confidence that whatever data is out there has been sifted and sorted,” he said. 

The former president also warned his successors to be wary of clickbait content and "opinion wrapped up as fact" when making decisions.

"What it does mean is that if you are susceptible to worrying about what are the polls saying or what might this person say about this topic or you start mistaking the intensity of the passion of a very small subset of people with a broader sense about your country or people who know something about the topic, that will sway your decisionmaking in an unhealthy way," he said.

The comments, particularly regarding social media, could be read as meant to undercut Trump, but Jon Favreau, a former Obama speechwriter, said on Twitter that he doubts that was the intention.