I sometimes just update the like_count in the post model. I’m not quite sure if those might somehow get overwritten by some process that builds that number from the post_action model, though.
If Xenforo has a table with every user’s every like, then you can import into post_actions if not, you can just stick it in the like_count and hope for the best.