This action is a friendly greeting. AT: "greet him as a friend by embracing him and kissing him" (See: [[rc://en/ta/man/translate/translate-symaction]])
This sentence means Absalom convinced the men to be loyal to him rather than to David. Here the author speaks of how the people became loyal to Absalom by saying that he stole their hearts. AT: "In this way, Absalom convinced the men of Israel to be loyal to him" (See: [[rc://en/ta/man/translate/figs-metaphor]])