Likes on a post

I may not be understanding, but are you trying to increment a post action (i.e. a like) by passing in a topic id instead of a post id? AFAIK, there is no such thing as a topic action.