(To get into one's). To be in favour with.
“Having continued to get into the good graces of the buxom widow.” —Dickens: Pickwick, chap. xiv.