Donald Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE and former Mexican President Vicente Fox on Wednesday exchanged shots on Twitter after the Republican presidential nominee announced Tuesday he would be taking a trip to Mexico.

ADVERTISEMENT

"Former President Vicente Fox, who is railing against my visit to Mexico today, also invited me when he apologized for using the 'f bomb,' " Trump tweeted Wednesday, after Fox slammed him on CNN earlier Wednesday morning.

Fox shot back, disputing Trump's claims.

"@realDonaldTrump, I invited you to come and apologize to all Mexicans. Stop lying! Mexico is not yours to play with, show some respect."

Former President Vicente Fox, who is railing against my visit to Mexico today, also invited me when he apologized for using the "f bomb." — Donald J. Trump (@realDonaldTrump) August 31, 2016

@realDonaldTrump, I invited you to come and apologize to all Mexicans. Stop lying! Mexico is not yours to play with, show some respect. — Vicente Fox Quesada (@VicenteFoxQue) August 31, 2016

The sparring comes hours before Trump plans to meet with Mexican President Enrique Pena Nieto in Mexico City.

Pena Nieto invited Trump to visit to discuss campaign issues.

Later Wednesday, Trump will give a major address on immigration in Arizona. The speech comes amid scrutiny of the GOP presidential nominee after he indicated openness to "softening" his position on immigration.

On Wednesday morning, Fox said Trump is going to be "rejected" by everyone in Mexico and questioned why the Mexican president gave Trump the opportunity to visit. Fox said Trump is "not welcome to Mexico" and dismissed the visit as a "political stunt."

In May, Fox said he thought Trump should come to Mexico and "learn about the real Mexico." He had previously apologized to the GOP nominee after saying in February that Mexico wouldn't pay for Trump's "f---ing wall."

Later in May, Fox said he would meet with Trump if he first apologized to the Mexican people and then to the U.S. workers, "because you're not telling them the truth."