How can you like a specific post through the API?

Yes, see How to reverse engineer the Discourse API and Discourse API Docs

2 Likes