You can do this by going to the Facebook search bar. To know what someone likes, type their name followed by the phrase "liked pictures" or "liked posts".