FastComments is designed to be installed on any kind of page - static or dynamic, light themed or dark, public or internal pages. It should be easy to install and adapt to any kind of site or web based application.
You can find our WordPress plugin here.
A complete installation guide and docs around the plugin are here.
This plugin supports live commenting, SSO, and no-code installation. Simply follow the installation guide in the admin page after installing the plugin. It will guide you through connecting your WordPress installation to your account.
Any comments left with FastComments through our WordPress plugin can be automatically synced back to your WordPress install so that you retain control over your data. This can be turned off to limit the size of your WordPress database.
All versions of the FastComments widget are wrappers around the core VanillaJS library. This allows us to add features and fix issues in one place - and the changes automatically propagate to the other variants of the commenting widget.
The VanillaJS version of the widget is very easy to install, not requiring any build systems or server side code.
Simply add the following code snippet to any page:
You can find documentation on configuring it here.
You can find our Angular library on NPM here.
The FastComments Angular commenting widget supports all of the same features of the VanillaJS one - live commenting, sso, and so on.
You will need fastcomments-typescript, which is a peer dependency. Please ensure this is included in your TypeScript compilation. In the future, this peer dependency will be moved to @types/fastcomments which will simplify this installation.
The peer dependency should be added in your tsconfig.json file, for example:
Then, add the
FastCommentsModule to your application:
To get started, we pass a config object for the demo tenant:
Since the configuration can get quite complicated, we can pass in an object reference:
The widget uses change detection, so changing any properties of the configuration object will cause it to be reloaded.
You can find the configuration the Angular component supports here.
You can find our React library on NPM here.
The FastComments React commenting widget supports all of the same features of the VanillaJS one - live commenting, sso, and so on.
If you're in the EU, you'll want to set the
region parameter like so:
You can find the configuration the React component supports here.
You can find our Vue library on NPM here.
Additionally, a vue-next library is on NPM here
The source code can be found on GitHub.
The FastComments Vue commenting widget supports all of the same features of the VanillaJS one - live commenting, sso, and so on.
The below instructions are for Vue 3 since it has been out for some time, however FastComments also supports Vue 2 via the
If you're in the EU, you'll want to set the
fastcomments-vue-next libraries support the same configuration as the VanillaJS commenting widget.
You can find the configuration the Vue component supports here.
Each instance of the comment widget is isolated. Because of this, FastComments inherently supports more than one instance per page, or multiple instances pointing to the same chat thread.
In the case of the VanillaJS library for example, you simply have to tie the comment widget to different DOM nodes. If you want to simply update the current thread on the page, see Switching Comment Threads Without Reloading The Page;
Syncing Authentication State Across Multiple Instances
Let's go over the example of a custom single-page-application that is a list of frequently asked questions with their own comment thread.
In this case, we have multiple instances of FastComments in the DOM at once.
This is fine, but it poses some challenges for user experience.
Consider this flow:
- The user visits the page with a list of questions, each with their own comment widget.
- The user enters their username and email and leaves a question on one of the threads.
- They see another FAQ item they have a question about.
- They go to comment again. Do they have to enter their email and username again?
In this case, FastComments handles syncing the authentication state across widget instances for you. In step four, the user will already be temporarily authenticated since they entered their username and email on the same page.
Showing Live Comments Right Away
The comment widget is live by default, however live comments appear under a "Show N New Comments" button to prevent the page content from moving around.
In some cases, it's still desirable to show the new comments right away, without having to click a button.
In this case, you want to enable the
showLiveRightAway flag, which you can find documentation for here.
Allowing Anonymous Commenting (Not Requiring Email)
By default, FastComments requires the user to leave an email when they comment.
This can be disabled, instructions are here.
Many of our customers apply their own styling to the comment widget. You can find the documentation here.
Showing The Same Comments on Multiple Domains
Showing the same comments on multiple sites is something FastComments supports out of the box. See our documentation on this subject.
Changing The Current Page
FastComments supports SPAs and complex applications. Changing the current page is easy, and covered here.