FastComments.com

Add Comments to Your Drupal Site

This is the official Drupal Module for FastComments.

A Drupal module that integrates FastComments with Drupal 10/11, providing widget blocks, entity field integration, SSO, and granular permissions.

Repository

View on GitHub

Installation Internal Link

  1. Place this module in your Drupal site's modules/custom/fastcomments/ directory (or install via Composer: composer require drupal/fcom).
  2. Enable the module:
    drush en fastcomments
    Or enable via the admin UI at Extend (/admin/modules).

Widget Blocks Internal Link

Several blocks are available via Structure > Block layout (/admin/structure/block):

  • FastComments Widget - The main commenting widget. Auto-detects the current entity. Skips entities that already have the FastComments field (to prevent duplicates).
  • FastComments Live Chat - Real-time streaming chat. Can be placed alongside the comment field on the same page.
  • FastComments Collab Chat - Text-selection annotation and discussion.
  • FastComments Image Chat - Coordinate-based annotation on images.
  • FastComments Recent Comments - Displays recent comments across your site. Configurable comment count.
  • FastComments Top Pages - Shows pages with the most comments.

Content-centric blocks (Live Chat, Collab Chat, Image Chat) auto-detect the current entity and fall back to a path-based identifier on non-entity pages.

Multilingual Internal Link

The module automatically passes the current Drupal site language to all widgets.

Permissions Internal Link

  • Administer FastComments - Access to the FastComments settings form.
  • View FastComments - Required to see the commenting widget.
  • Toggle FastComments - Allows users to enable/disable comments per entity via the field widget.

How It Works Internal Link

When a user visits an entity with the FastComments field enabled:

  1. The FastComments JavaScript widget is loaded from the CDN.
  2. If SSO is configured, the user's Drupal identity is passed to FastComments.
  3. A <noscript> fallback provides server-rendered comments for users without JavaScript (Live Comments and Streaming Chat modes only).

Need Help?

If you encounter any issues or have questions about the Drupal Module, please:

Contributing

Contributions are welcome! Please visit the GitHub repository for contribution guidelines.