"The violence the Palestinian people are being subjected to is a grim continuation of more than half a century of apartheid that has been perpetrated against Palestinians by Israel," Ramaphosa said.
General elections in South Africa were held on May 29 to elect a new National Assembly, and were the seventh democratic elections held since the end of the Apartheid regime.
South Africa's highly competitive election saw voters express dissatisfaction with the ANC's 30-year rule, citing unemployment, crime, and corruption, while opposition parties sought change.
The post was apparently intended to flatter South African President Cyril Ramaphosa but ended up causing upheaval for the allegedly bigoted wording chosen.