Effigies of Barack Obama were burned by protesters in the town of Rafah ahead of the president's visit to Ramallah on Thursday.

Obama, who arrived in the West Bank on Thursday morning, urged Palestinians and Israelis to resume peace talks.

"Even though both sides may have areas of strong disagreement, maybe engaging in activities that the other side considers to be a breach of good faith, we have to push through those things to try to get to an agreement," he said.

Loading Slideshow...
  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama (R) and Palestinian Prime Minister Salam Fayad visit Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama shakes hands with Palestinian children during his visit to Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama (C) is welcomed by Palestinian youths during his visit to Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama (C) visits Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama (3R) and Palestinian Prime Minister Salam Fayad (C) visit Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama (R) is welcomed by Palestinian girls during his visit to Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama (R) and Palestinian Prime Minister Salam Fayad visit Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    RAMALLAH, WEST BANK - MARCH 21: U.S. President Barack Obama is welcomed by Palestinian girls during his visit to Al Bera Youth Center March 21, 2013 in Ramallah, the West Bank. This is Obama's first visit as president to the region and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Alaa Badarneh-Pool/Getty Images)

  • Barack Obama

    President Barack Obama gestures during his speech at the Jerusalem Convention Center in Jerusalem, Israel, Thursday, March 21, 2013, (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama

    President Barack Obama smiles during his speech at the Jerusalem Convention Center in Jerusalem, Israel, Thursday, March 21, 2013, (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama

    President Barack Obama looks into the crowd for a person yelling at him during his speech at the International Convention Center in Jerusalem, Thursday, March 21, 2013. (AP Photo/Carolyn Kaster)

  • Barack Obama

    President Barack Obama looks into the crowd and tries to hear a person yelling at him during his speech at the International Convention Center in Jerusalem, Thursday, March 21, 2013. (AP Photo/Carolyn Kaster)

  • PALESTINIAN-ISRAEL-US-OBAMA-DEMO

    Palestinians set fire to an effigy of US President Barack Obama during a protest against Obama's visit to the West Bank, in the southern Gaza Strip town of Rafah on March 21, 2013. Obama arrived in the West Bank to a more prickly welcome from Palestinian leaders than the warm embrace he won in Israel the day before. AFP PHOTO/ SAID KHATIB (Photo credit should read SAID KHATIB/AFP/Getty Images)

  • Palestinians hold posters of U.S. President Barack Obama during a protest against Obama's visit to the West Bank in Gaza City, Thursday, March 21, 2013. Arabic on posters read, "you are unwelcome, the ally of the Zionist enemy and the enemy of the Palestinian people." Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal. (AP Photo/Adel Hana)

  • Barack Obama, Benjamin Netanyahu

    U.S. President Barack Obama, right, and Israeli Prime Minister Benjamin Netanyahu take a bite of matzah as they tour the Technology Expo in Jerusalem, Israel,Thursday, March 21, 2013. (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Benjamin Netanyahu

    U.S. President Barack Obama and Israeli Prime Minister Benjamin Netanyahu take a bite of matzah as they tour the Technology Expo in Jerusalem, Israel, Thursday, March 21, 2013. (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Mahmoud Abbas

    U.S. President Barack Obama and Palestinian President Mahmoud Abbas shake hands during their bilateral meeting at the Muqata Presidential Compound in the West Bank city of Ramallah, Thursday, March 21, 2013. (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Mahmoud Abbas

    U.S. President Barack Obama, left, listens to Palestinian President Mahmoud Abbas during their bilateral meeting at the Muqata Presidential Compound in the West Bank city of Ramallah, Thursday, March 21, 2013. Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal, a message underscored Thursday when Palestinian militants in Gaza launched rockets into southern Israel. (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Mahmoud Abbas

    U.S. President Barack Obama and Palestinian President Mahmoud Abbas shake hands during their bilateral meeting at the Muqata Presidential Compound in the West Bank city of Ramallah, Thursday, March 21, 2013. Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal, a message underscored Thursday when Palestinian militants in Gaza launched rockets into southern Israel. (AP Photo/Pablo Martinez Monsivais)

  • Palestinians burn posters of U.S. President Barack Obama and American flags during a protest against Obama's visit to the West Bank in Gaza City, Thursday, March 21, 2013. Arabic on posters read, "you are unwelcome, the ally of the Zionist enemy and the enemy of the Palestinian people." Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal. (AP Photo/Adel Hana)

  • US President Barack Obama , right, walks with Palestinian President Mahmoud Abbas, during a welcoming ceremony prior to their meeting, in the West Bank city of Ramallah, Thursday, March. 21, 2013. U.S. President Barack Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal. (AP Photo/Majdi Mohammed)

  • US President Barack Obama, right, walks with Palestinian President Mahmoud Abbas, during a welcoming ceremony prior to their meeting, in the West Bank city of Ramallah, Thursday, March. 21, 2013. Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal. (AP Photo/Majdi Mohammed)

  • Police block the way to Palestinian protesters during a rally against U.S. President Barack Obama in the West Bank city of Ramallah, Thursday, March 21, 2013. Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal, a message underscored Thursday when Palestinian militants in Gaza launched rockets into southern Israel. (AP Photo/Bernat Armangue)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: U.S. President Barack Obama greets Theresa Hannigan from New York, who is wearing a ReWalk bionic walking assistance system, at an Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Debbie Hill-Pool/Getty Images)

  • A Palestinian protester holds a poster during a rally against U.S. President Barack Obama in the West Bank city of Ramallah, Thursday, March 21, 2013. Obama is meeting Palestinian officials on the second day of his Mideast tour to emphasize the importance of reaching an Israeli-Palestinian peace deal, a message underscored Thursday when Palestinian militants in Gaza launched rockets into southern Israel. (AP Photo/Bernat Armangue)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: U.S. President Barack Obama and Israeli Prime Minister Benjamin Netanyahu talk to a man wearing a net to check brain activity at an Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Debbie Hill-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: U.S. President Barack Obama and Israeli Prime Minister Benjamin Netanyahu view an Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Debbie Hill-Pool/Getty Images)

  • Barack Obama, Benjamin Netanyahu, Radi Kaiuf, Theresa Hannigan

    U.S. President Barack Obama and Israeli Prime Minister Benjamin Netanyahu, right in background, talk with Sgt. Theresa Hannigan, left, from Long Island, New York and Radi Kaiuf, center, during their tour of the Technology Expo in Jerusalem, Israel, Thursday, March 21, 2013. Hannigan and Kaiuf where demonstrating technology that assist paraplegics to walk again.(AP Photo/Pablo Martinez Monsivais)

  • PALESTINIAN-ISRAEL-US-OBAMA-DIPLOMACY

    Palestinian policemen keep watch during an protest against the visit of US President Barack Obama to the West Bank city of Ramallah on March 21, 2013. Obama arrived in the West Bank to a more prickly welcome from Palestinian leaders than the warm embrace he won in Israel the day before. AFP PHOTO/ABBAS MOMANI (Photo credit should read ABBAS MOMANI/AFP/Getty Images)

  • PALESTINIAN-ISRAEL-US-OBAMA-DIPLOMACY

    Palestinian protestors hold signs during a demonstration against the visit of US President Barack Obama to the West Bank city of Ramallah on March 21, 2013. Obama arrived in the West Bank to a more prickly welcome from Palestinian leaders than the warm embrace he won in Israel the day before. AFP PHOTO/ABBAS MOMANI (Photo credit should read ABBAS MOMANI/AFP/Getty Images)

  • PALESTINIAN-ISRAEL-US-OBAMA-DIPLOMACY

    Palestinian protestors hold signs during a demonstration against the visit of US President Barack Obama to the West Bank city of Ramallah on March 21, 2013. Obama arrived in the West Bank to a more prickly welcome from Palestinian leaders than the warm embrace he won in Israel the day before. AFP PHOTO/ABBAS MOMANI (Photo credit should read ABBAS MOMANI/AFP/Getty Images)

  • PALESTINIAN-ISRAEL-US-OBAMA-DIPLOMACY

    Palestinian protestors hold signs during a demonstration against the visit of US President Barack Obama to the West Bank city of Ramallah on March 21, 2013. Obama arrived in the West Bank to a more prickly welcome from Palestinian leaders than the warm embrace he won in Israel the day before. AFP PHOTO/ABBAS MOMANI (Photo credit should read ABBAS MOMANI/AFP/Getty Images)

  • PALESTINIAN-ISRAEL-US-OBAMA-DIPLOMACY

    US President Barack Obama's limousine, known as 'The Beast,' parks following an official arrival ceremony at the Muqata, the Palestinian Authority headquarters in the West Bank city of Ramallah, on March 21, 2013. Obama arrived in the West Bank city of Ramallah on his first visit since taking over the White House more than four years ago . AFP PHOTO / Saul LOEB (Photo credit should read SAUL LOEB/AFP/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: U.S. President Barack Obama and Israeli Prime Minister Benjamin Netanyahu view a robotic snake used in search and rescue at an Israeli technology exhibition in the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Debbie Hill-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: U.S. President Barack Obama and Israeli Prime Minister Benjamin Netanyahu view a robotic snake used in search and rescue at an Israeli technology exhibition in the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Debbie Hill-Pool/Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: (ISRAEL OUT) In this handout image supplied by the Government Press Office of Israel (GPO) Israeli Prime Minister Benjamin Netanyahu (C) and U.S. President Barack Obama visit the Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Kobi Gideon/GPO via Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: (ISRAEL OUT) In this handout image supplied by the Government Press Office of Israel (GPO) Israeli Prime Minister Benjamin Netanyahu (not pictured) and U.S. President Barack Obama visit the Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Kobi Gideon/GPO via Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: (ISRAEL OUT) In this handout image supplied by the Government Press Office of Israel (GPO) Israeli Prime Minister Benjamin Netanyahu (L) and U.S. President Barack Obama visit the Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Kobi Gideon/GPO via Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: (ISRAEL OUT) In this handout image supplied by the Government Press Office of Israel (GPO) Israeli Prime Minister Benjamin Netanyahu (R) and U.S. President Barack Obama speak with Israeli President Shimon Peres as they visit the Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Kobi Gideon/GPO via Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: (ISRAEL OUT) In this handout image supplied by the Government Press Office of Israel (GPO) Israeli Prime Minister Benjamin Netanyahu (2nd R) and U.S. President Barack Obama visit the Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Kobi Gideon/GPO via Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: (ISRAEL OUT) In this handout image supplied by the Government Press Office of Israel (GPO) Israeli Prime Minister Benjamin Netanyahu and U.S. President Barack Obama visit the Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Kobi Gideon/GPO via Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: (ISRAEL OUT) In this handout image supplied by the Government Press Office of Israel (GPO) Israeli Prime Minister Benjamin Netanyahu (3rd R) and U.S. President Barack Obama visit the Israeli technology exhibition at the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Kobi Gideon/GPO via Getty Images)

  • President Obama's Official Visit To Israel And The West Bank Day Two

    JERUSALEM, ISRAEL - MARCH 21: U.S. President Barack Obama views a robotic snake used in search and rescue at an Israeli technology exhibition in the Israel Museum on March 21, 2013 in Jerusalem, Israel. This is President Obama's first visit as president to the region, and his itinerary includes meetings with the Palestinian and Israeli leaders as well as a visit to the Church of the Nativity in Bethlehem. (Photo by Debbie Hill-Pool/Getty Images)

  • Barack Obama

    President Barack Obama signs a guest book, Wednesday, March 20, 2013, at the residence of Israeli President Shimon Peres, in Jerusalem. (AP Photo/Carolyn Kaster)

  • Barack Obama, Shimon Peres

    President Barack Obama signs a guest book, Wednesday, March 20, 2013, at the residence of Israeli President Shimon Peres, left, in Jerusalem. (AP Photo/Carolyn Kaster)

  • Barack Obama

    President Barack Obama signs a guest book, Wednesday, March 20, 2013, at the residence of Israeli President Shimon Peres in Jerusalem. (AP Photo/Carolyn Kaster)

  • Barack Obama

    US President Barack Obama, waves as he leaves Israeli President Shimon Peres' residence in Jerusalem, Wednesday, March 20, 2013. Obama arrived Wednesday in Israel for his first visit to the country, and only his second to the Middle East, outside of a quick jaunt to Iraq, since taking office. He will also be making his first trips as president to the Palestinian Authority and Jordan this week. (AP Photo/Sebastian Scheiner)

  • Barack Obama, Shimon Peres,

    President Barack Obama and Israeli President Shimon Peres shake hands following their joint statement to members of the media at the President’s Residence in Jerusalem, Israel, Wednesday, March 20, 2013, (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Shimon Peres,

    President Barack Obama and Israeli President Shimon Peres walk off stage following their joint statement to members of the media at the President’s Residence in Jerusalem, Israel, Wednesday, March 20, 2013, (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Shimon Peres

    Children sing to President Barack Obama after he signed a guest book, Wednesday, March 20, 2013, at the residence of Israeli President Shimon Peres, standing right, in Jerusalem. (AP Photo/Carolyn Kaster)

  • Barack Obama, Shimon Peres

    President Barack Obama and Israeli President Shimon Peres are photographed through a window and the crowd as they are greeted by children waving Israeli and American flags upon their arrival at the Peres' residence, Wednesday, March 20, 2013, in Jerusalem. (AP Photo/Carolyn Kaster)