One commenter said the New York mayor had used flattery to great effect during a meeting with the president.