Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Katrina Pierson, a spokeswoman for GOP front-runner Donald Trump's presidential campaign, said Wednesday that she can't take Facebook CEO Mark Zuckerberg seriously after the tech billionaire made a thinly-veiled reference to her candidate's positions.

"Self-righteousness isn't very proactive: We can talk about taxes, we can talk about jobs and even immigration, but that doesn't really put food on the table and save lives," she said. "I think I'll take Mark Zuckerberg seriously when he gives up all of his private security, moves out of his posh neighborhood, and comes live in a modest neighborhood near a border town."

Read More from CNBC: Watch Mark Zuckerberg's First-Ever CNBC Interview in 2004

Byers Market Newsletter Get breaking news and insider analysis on the rapidly changing world of media and technology right to your inbox. This site is protected by recaptcha

Speaking Tuesday from Facebook's F8 developer conference, Zuckerberg spoke out against those seeking to build walls — physical and digital.

"As I look around and I travel around the world, I'm starting to see people and nations turning inward, against this idea of a connected world and a global community," he said. "I hear fearful voices calling for building walls and distancing people they label as others. For blocking free expression, for slowing immigration, reducing trade, and in some cases around the world even cutting access to the internet."

Read More from CNBC: Kanye West Taps 'Bruh' Mark Zuckerberg for $1 Billion

Trump has regularly spoken about building a wall between the U.S. and Mexico to help control the flow of immigrants into the country.

Importantly, Trump is neither the only nor the first politician to propose such a wall: One of his two remaining GOP competitors, Sen. Ted Cruz of Texas, says that building "a wall that works" is part of his official immigration plan.