The South African Foreign Affairs Ministry says its officials in Nigeria are doing everything they can to secure the hostages ' release .