Get Post Id's of posts that a user liked

Specifically, I was wondering if there was a way to get this through api