About the Likes API

The Likes API allows you to manage likes on blog content. This API provides a flexible liking system that can handle likes for blog posts, comments, and other blog-related content.

With the Likes API, you can:

  • Create likes for any blog content.
  • Retrieve individual likes or query multiple likes with filtering and sorting.
  • Delete likes using either the like ID or content reference (FQDN + entity ID).

The API uses FQDN-based content identification, allowing it to work across different content types. For example, for the related Blog content (posts or comments) you'll pass the wix.blog.v3.post FQDN. Visitor or member authentication is required for creating and deleting likes.

Before you begin

It's important to note the following points before starting to code:

  • A Wix user must install the Wix Blog app.

Use cases

Terminology

  • FQDN (Fully Qualified Domain Name): A unique identifier for the type of blog content being liked (for example, wix.blog.v3.post for blog posts).
  • Like: A record representing a user's appreciation for specific blog content.
Did this help?