As president, Barack Obama traveled to over 51 countries. He has cemented his foreign relations legacy through his choice of official travel.