US President Barack Obama said he is concerned that the way people consume news may be contributing to the growing divisiveness in the country.

"The biggest challenge that I think we have right now in terms of this divide is that the country receives information from completely different sources," Obama said in an interview with Rolling Stone published this week.

Obama suggested the root of the problem is that some people only look to news sources that confirm their existing political views.

"People are no longer talking to each other; they're just occupying their different spheres," Obama said.

He also commented on the proliferation of fake news — a problem that put Facebook in the hot seat during the election.

"In an internet era where we still value a free press and we don't want censorship of the internet, that's a hard problem to solve," he said.

RELATED: Newspapers around the world react to Trump winning presidential election

14 PHOTOS Newspapers around the world react to Trump's win See Gallery Newspapers around the world react to Trump's win A businessman walks past copies of the London Evening Standard newspaper, featuring a picture of U.S. President-elect Donald Trump on its front page, waiting to be picked up in the square mile financial district of the City of London, U.K., on Wednesday, Nov. 9, 2016. Donald Trump was elected the 45th president of the United States in a stunning repudiation of the political establishment that jolted financial markets and likely will reorder the nation's priorities and fundamentally alter America's relationship with the world. Photographer: Chris Ratcliffe/Bloomberg via Getty Images A Mexican holds a newspaper with headlines referring to the eventual triumph of Donald Trump on November 9, 2016 in Mexico City. / AFP / PEDRO PARDO (Photo credit should read PEDRO PARDO/AFP/Getty Images) Mexican newspapers with their front page referring to the eventual triumph of US presidential candidate Donald Trump on November 9, 2016 in Mexico City. / AFP / YURI CORTEZ (Photo credit should read YURI CORTEZ/AFP/Getty Images) A Mexican holds a newspaper with headlines about on the eventual triumph of Donald Trump on November 9, 2016 in Mexico City. / AFP / PEDRO PARDO (Photo credit should read PEDRO PARDO/AFP/Getty Images) Copies of a special edition of the Financial Times newspaper, featuring a picture of U.S. President-elect Donald Trump on its front page, sit waiting to be picked up in the square mile financial district of the City of London, U.K., on Wednesday, Nov. 9, 2016. Donald Trump was elected the 45th president of the United States in a stunning repudiation of the political establishment that jolted financial markets and likely will reorder the nation's priorities and fundamentally alter America's relationship with the world. Photographer: Chris Ratcliffe/Bloomberg via Getty Images A Mexican newspaper with its front page referring to the eventual triumph of US presidential candidate Donald Trump on November 9, 2016 in Mexico City. / AFP / YURI CORTEZ (Photo credit should read YURI CORTEZ/AFP/Getty Images) A Mexican newspaper with its front page referring to the eventual triumph of US presidential candidate Donald Trump on November 9, 2016 in Mexico City. / AFP / YURI CORTEZ (Photo credit should read YURI CORTEZ/AFP/Getty Images) A Mexican reads a newspaper with headlines about on the eventual triumph of Donald Trump on November 9, 2016 in Mexico City. / AFP / PEDRO PARDO (Photo credit should read PEDRO PARDO/AFP/Getty Images) View of Guatemalan newspapers informing about the victory of US presidential candidate Donald Trump in their front pages, in Guatemala City on November 9, 2016. / AFP / JOHAN ORDONEZ (Photo credit should read JOHAN ORDONEZ/AFP/Getty Images) Colombian newspapers report the victory of US presidential candidate Donald Trump on their front pages, in Medellin, Colombia, on November 9, 2016 / AFP / STR / RAUL ARBOLEDA (Photo credit should read RAUL ARBOLEDA/AFP/Getty Images) An 'I Voted' sticker adorns a newspaper at an election watch party organized by the American Chamber of Commerce in Hong Kong, China, on Wednesday, Nov. 9, 2016. Republican Donald Trump was projected to win North Carolina and Florida, an unexpectedly strong showing in results Tuesday night that potentially throws the balance in the presidential race to Michigan and Wisconsin, key parts of Hillary Clinton's Midwestern electoral firewall. Photographer: Anthony Kwan/Bloomberg via Getty Images TOKYO, JAPAN - NOVEMBER 09: A man distributes an extra edition of a newspaper featuring a front page report on the U.S. Presidential Election and Republican President-elect Donald Trump on November 9, 2016 in Tokyo, Japan. Donald Trump defeated Democratic presidential nominee Hillary Clinton to become the 45th president of the United States. (Photo by Yuya Shino/Getty Images) Chilean newspapers report the victory of US presidential candidate Donald Trump on their front pages, in Santiago, on November 9, 2016 / AFP / MARTiN BERNETTi (Photo credit should read MARTIN BERNETTI/AFP/Getty Images) An Iraqi man holds an edition of Iraqi daily newspaper Azzaman displaying pictures of US presidential candidates Donald Trump and Hillary Clinton in Baghdad on November 9, 2016. Billionaire populist Donald Trump, tapping into an electorate fed up with Washington insiders, was on the verge of a shock victory over Hillary Clinton in a historic US presidential election that sent world markets into meltdown. / AFP / SABAH ARAR (Photo credit should read SABAH ARAR/AFP/Getty Images) Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

At first, Facebook founder Mark Zuckerberg dismissed accusations that phony news stories on the social network influenced the outcome the election. But the company later announced plans to cut off websites that produce fake stories from its advertising network in order to prevent them from making a profit.

The president earlier this month said fake news created "dust cloud of nonsense."

Earlier this month a BuzzFeed study showed that several fake news stories on Facebook significantly outperformed stories from legitimate news sources in the days leading up to the election.

Obama suggested one solution could be to create new business models that appeal to a wider audience and creates an inclusive dialogue about issues, rather than pursuing bombastic headlines.

"It's making people exaggerate or say what's most controversial or peddling in the most vicious of insults or lies, because that attracts eyeballs," Obama said.

RELATED: Would you say things in this country are heading in the right or wrong direction?

NOW WATCH: 'That hypocrisy is also real' — Jon Stewart takes liberals to task for calling all Trump supporters racist

See Also: