This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was liked.
function onPostLiked(handler: function): void;
handler(event: PostLikedEnvelope): void | Promise<void>
import { posts } from "@wix/forum";
posts.onPostLiked((event) => {
// handle your event here
});