Fish for compliments

Meaning: To try to get people to praise you.

Example: He keeps talking about his achievements because he is fishing for compliments.