US president’s controversial attacks and praises have been under spotlight of General Assembly meeting.