Former U.S. President Barack Obama urged people to unite against “nationalism and intolerance”, arguing that amid greater global pressures, no is not the time to “hide behind a wall.”