# Add a Commenting System to Your Platform with Tapestry

### Enhance user engagement with Tapestry’s Comment Wall—featuring threaded discussions, likes, and profile interactions for a seamless social experience.

[Tapestry](https://substack.com/@usetapestry)

Mar 13, 2025

A well-structured commenting system not only enhances engagement but also fosters deeper discussions within your community. With Tapestry’s Comment Wall, developers can build a robust social layer with features like replies, likes, and profile interactions, improving the user experience for any content-driven platform.

Ready to implement comments on your platform? Dive into the APIs and start building today!

[View the Docs](https://docs.usetapestry.dev/api#tag/comments)

* * *

## **Features of the Comment Wall**

The Tapestry Comment Wall enables seamless user engagement with the following functionalities:

- **Follow Profiles** – Users can follow other profiles to keep track of their interactions.
- **Comment on Content** – Users can leave comments on posts or articles.
- **Reply to Comments** – Nested comments allow for structured discussions.
- **Like Comments** – Users can like comments, with displayed like counts.
- **Unlike Option** – If a user has liked a comment, their next action is to unlike.

* * *

## **How the Comment System Works**

To better understand the structure, consider the following node-based system:

- **RED NODE** – Represents the content node where discussions take place.
- **BLUE NODE** – Represents individual comment nodes.
- **PURPLE NODE** – Represents user profile nodes, linking users to their activity.

* * *

## **How Commenting Works**

Security and efficiency are key when handling user-generated content. Since direct requests from the client browser could expose keys, all Tapestry requests occur through Next.js API routes or the application’s backend, ensuring a secure and streamlined process.

* * *

## Live Examples

See applications of this commenting system:

- **[Access Protocol Hub](https://hub.accessprotocol.co/en/artwork/des-digitals/76ae4849-441d-41f4-b025-90a8399142dd)**
- **[Solana Social Explorer User Profiles](https://www.sse.gg/)**
- **[Primitives](https://primitives.xyz/token/5LuWtWj0mr94WwRgSV1Tb6)**

* * *

## **Implement Your Comment Wall**

### **Code References**

To integrate the Tapestry Comment Wall, check out the following resources:

- **Follow Button:** [View Code](https://github.com/Primitives-xyz/explorer/blob/main/src/components/profile/follow-button.tsx)
- **Comment Wall Component:** [View Code](https://github.com/Primitives-xyz/explorer/blob/main/src/components/profile/comment-wall.tsx)

### **API Endpoints**

Tapestry provides API endpoints to facilitate interactions:

- **POST /followers/add** – [Follow Profiles](https://docs.usetapestry.dev/api#tag/followers/POST/followers/add)
- **GET /comments** – [Retrieve Comments](https://docs.usetapestry.dev/api#tag/comments/GET/comments/)
- **POST /comments** – [Create a Comment](https://docs.usetapestry.dev/api#tag/comments/POST/comments/)
- **POST /likes/{nodeId}** – [Like a Comment](https://docs.usetapestry.dev/api#tag/likes/POST/likes/%7BnodeId%7D)
- **DELETE /likes/{nodeId}** – [Remove a Like](https://docs.usetapestry.dev/api#tag/likes/DELETE/likes/%7BnodeId%7D)

Ready to implement comments on your platform? Dive into the APIs and start building today!

[Comment Docs.](https://docs.usetapestry.dev/api#tag/comments)
