CNN
Now playing
01:16
Haley: This will move ball forward for peace
israel prime minister benjamin netanyahu iran deal reaction sot _00002125.jpg
israel prime minister benjamin netanyahu iran deal reaction sot _00002125.jpg
Now playing
01:55
Netanyahu: Israel thanks Trump for his courage
United States Ambassador to the United Nations, Nikki Haley, addresses the General Assembly prior to the vote on Jerusalem, on December 21, 2017, at UN Headquarters in New York.
UN member-states were poised to vote on a motion rejecting US recognition of Jerusalem as Israel's capital, after President Donald Trump threatened to cut funding to countries that back the measure.  / AFP PHOTO / EDUARDO MUNOZ ALVAREZ        (Photo credit should read EDUARDO MUNOZ ALVAREZ/AFP/Getty Images)
EDUARDO MUNOZ ALVAREZ/AFP/AFP/Getty Images
United States Ambassador to the United Nations, Nikki Haley, addresses the General Assembly prior to the vote on Jerusalem, on December 21, 2017, at UN Headquarters in New York. UN member-states were poised to vote on a motion rejecting US recognition of Jerusalem as Israel's capital, after President Donald Trump threatened to cut funding to countries that back the measure. / AFP PHOTO / EDUARDO MUNOZ ALVAREZ (Photo credit should read EDUARDO MUNOZ ALVAREZ/AFP/Getty Images)
Now playing
01:14
Haley threatens to pull US funding to the UN
WASHINGTON, DC - DECEMBER 06:  US President Donald Trump announces that the U.S. government will formally recognize Jerusalem as the capital of Israel as Vice President Mike Pence looks on in the Diplomatic Reception Room at the White House December 6, 2017 in Washington, DC. In keeping with a campaign promise, Trump said the United States will move its embassy from Tel Aviv to Jerusalem sometime in the next few years. No other country has its embassy in Jerusalem.  (Photo by Chip Somodevilla/Getty Images)
Chip Somodevilla/Getty Images North America/Getty Images
WASHINGTON, DC - DECEMBER 06: US President Donald Trump announces that the U.S. government will formally recognize Jerusalem as the capital of Israel as Vice President Mike Pence looks on in the Diplomatic Reception Room at the White House December 6, 2017 in Washington, DC. In keeping with a campaign promise, Trump said the United States will move its embassy from Tel Aviv to Jerusalem sometime in the next few years. No other country has its embassy in Jerusalem. (Photo by Chip Somodevilla/Getty Images)
Now playing
01:54
Trump's words on Jerusalem over the years
israel trump naming frenzy liebermann pkg_00012022.jpg
israel trump naming frenzy liebermann pkg_00012022.jpg
Now playing
02:09
Israel sees Donald Trump naming frenzy
Jerusalem's Temple Mount
CNN
Jerusalem's Temple Mount
Now playing
01:59
Why Jerusalem's holy sites are so significant
CNN
Now playing
01:05
Protests erupt over Trump's Jerusalem decision
The results of the vote on Jerusalem are seen on a display board at the General Assembly hall, on December 21, 2017, at UN Headquarters in New York.
UN member-states were poised to vote on a motion rejecting US recognition of Jerusalem as Israel's capital, after President Donald Trump threatened to cut funding to countries that back the measure.  / AFP PHOTO / EDUARDO MUNOZ ALVAREZ        (Photo credit should read EDUARDO MUNOZ ALVAREZ/AFP/Getty Images)
EDUARDO MUNOZ ALVAREZ/AFP/AFP/Getty Images
The results of the vote on Jerusalem are seen on a display board at the General Assembly hall, on December 21, 2017, at UN Headquarters in New York. UN member-states were poised to vote on a motion rejecting US recognition of Jerusalem as Israel's capital, after President Donald Trump threatened to cut funding to countries that back the measure. / AFP PHOTO / EDUARDO MUNOZ ALVAREZ (Photo credit should read EDUARDO MUNOZ ALVAREZ/AFP/Getty Images)
Now playing
01:39
UN votes to condemn Trump's Jerusalem decision
US President Donald Trump delivers a statement on Jerusalem from the Diplomatic Reception Room of the White House in Washington, DC on December 6, 2017.
MANDEL NGAN/AFP/Getty Images
US President Donald Trump delivers a statement on Jerusalem from the Diplomatic Reception Room of the White House in Washington, DC on December 6, 2017.
Now playing
00:56
Trump recognizes Jerusalem as Israeli capital
CNN
Now playing
01:18
Haley on Jerusalem: This is about courage
CNN
Now playing
01:52
Columnist: Trump gave away the crown jewel
jerusalem world away wedeman pkg_00015028.jpg
jerusalem world away wedeman pkg_00015028.jpg
Now playing
02:26
Palestinian refugees indifferent to Trump's plan
US President Donald Trump delivers a statement on Jerusalem from the Diplomatic Reception Room of the White House in Washington, DC on December 6, 2017 as US Vice President Mike Pence looks on.
SAUL LOEB/AFP/Getty Images
US President Donald Trump delivers a statement on Jerusalem from the Diplomatic Reception Room of the White House in Washington, DC on December 6, 2017 as US Vice President Mike Pence looks on.
Now playing
01:18
Trump: US will support a 2-state solution
jerusalem tillerson mideast peace sot_00000000.jpg
jerusalem tillerson mideast peace sot_00000000.jpg
Now playing
00:46
Tillerson: Good opportunity for peace
CNN
Now playing
01:43
Jerusalem mayor: I applaud Donald Trump
Jewish people take part in the Cohanim prayer (priest's blessing) during the Passover (Pesach) holiday at the Western Wall in the Old City of Jerusalem on April 13, 2017, with the Dome of the Rock seen in the background.
THOMAS COEX/AFP/AFP/Getty Images
Jewish people take part in the Cohanim prayer (priest's blessing) during the Passover (Pesach) holiday at the Western Wall in the Old City of Jerusalem on April 13, 2017, with the Dome of the Rock seen in the background.
Now playing
01:25
Confusion over status of Western Wall
(CNN) —  

US Ambassador to the United Nations Nikki Haley warns the US will be “taking names” of the countries that vote in favor of a resolution that condemns the Trump administration’s decision to recognize Jerusalem as the capital of Israel.

“At the UN, we’re constantly asked to do more and give more – in the past we have. So, when we make a decision, at the will of the American people, about where to locate OUR embassy, we don’t expect those we’ve helped to target us,” Haley wrote on Facebook and Twitter on Tuesday evening. “On Thursday, there will be a vote at the UN criticizing our choice. And yes, the US will be taking names.”

President Donald Trump backed his ambassador’s tough talk at a Cabinet meeting in Washington on Wednesday. “We’re watching those votes,” the President said. “Let them vote against us, we’ll save a lot. We don’t care. But this isn’t like it used to be where they could vote against you and then you pay them hundreds of millions of dollars and nobody knows what they’re doing.”

Trump indicated that he and Haley had agreed on her message beforehand. “Nikki, that was the right message that you and I agreed to be sent yesterday,” he said. “People that live here, our great citizens that love this country – they’re tired of this country being taken advantage of and we’re not going to be taken advantage of any longer.”

On Monday, the US exercised its veto power at the UN to sink a Security Council resolution critical of the White House’s unilateral move to recognize the city as Israel’s capital. Haley cast the veto, blocking the resolution introduced by Egypt, despite the 14 other members of the Security Council voting in favor.

“What we witnessed here today in the Security Council is an insult. It won’t be forgotten. It’s one more example of the United Nations doing more harm than good in addressing the Israeli-Palestinian conflict,” Haley said in remarks following her veto.

The Palestinians are now moving the resolution before the UN’s General Assembly, where the US cannot unilaterally avoid censure. It is scheduled for a vote on Thursday.

In addition to her admonition on social media, Haley also sent a letter to fellow nations warning them of the potential impact of their vote.

“As you consider your vote, I want you to know that the President and U.S. take this vote personally.” she wrote. “The President will be watching this vote carefully and has requested I report back on those countries who voted against us.”

President Donald Trump announced in early December that the US would recognize Jerusalem as the capital of Israel and would move its embassy there. The controversial move upended decades of foreign policy precedent and inflamed protests across the region.

CNN’s Kevin Liptak, Oren Liebermann, Elise Labott, and Jeremy Diamond contributed to this report.