Former President Barack Obama Barack Hussein ObamaObama warns of a 'decade of unfair, partisan gerrymandering' in call to look at down-ballot races Quinnipiac polls show Trump leading Biden in Texas, deadlocked race in Ohio Poll: Trump opens up 6-point lead over Biden in Iowa MORE issued a warning against "irresponsible" social media use in a wide-ranging interview with Britain's Prince Harry on Wednesday.

"One of the dangers of the internet is that people can have entirely different realities. They can be cocooned in information that reinforces their current biases," Obama told Harry on BBC 4 Radio.

"The question has to do with how do we harness this technology in a way that allows a multiplicity of voices, allows a diversity of views, but doesn't lead to a Balkanization of society and allows ways of finding common ground," he continued.

The former president went on to emphasize the need for face-to-face contact.

ADVERTISEMENT

"Social media is a really powerful tool for people of common interests to convene and get to know each other and connect. But then it's important for them to get offline, meet in a pub, meet at a place of worship, meet in a neighborhood and get to know each other," Obama said.

"Because the truth is that on the internet, everything is simplified and when you meet people face-to-face it turns out they're complicated," he added.

While the Obama administration often employed the use of Twitter, President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE has taken to using the platform to attack his opponents and announce policy changes and proposals, including notably banning transgender individuals from the military.

Obama did not mention Trump by name in the interview.

The former president issued a warning on social media use earlier this month, asking users to think before they post on platforms.

“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," he said.