
Language 🇺🇸 English (US)
Page Reactions
Floating Likes Widget
FastComments supports multiple types of per-page reactions. We support what we call "Page Reacts" (demonstrated at the bottom of this page) which are customizable emojis, or icons, that can display above the comment area.
We also have the Floating Likes widget which appears in the bottom right of the screen. This documentation covers both.
Page Reactions 
The Page Reacts widget displays a customizable set of reaction icons on the comment widget.
Users can click the images to react, and it remembers reactions they've selected per-page. If they are logged into fastcomments.com, this is tied to their account.
If you click Run on the example below you can see it in action.
Installation - Vanilla JS 
For Page Reacts we need to decide on two things:
- What reaction images to use.
- A short
idto name each reaction.
Optionally:
- You can also define separate optional images for selected and unselected reactions.
- You can choose whether to show the list of users who reacted when hovering over one of the reactions.
Run 
The configuration for React, Angular, and other front-end libraries is the same.
The Floating Likes Widget 
The floating likes widget displays a floating box in the bottom-right corner of the screen showing like and comment counts. You can see it in action on this page!
Users can click the heart to like the page, and it remembers pages they've liked. If they are logged into fastcomments.com, this is tied to their account to help prevent users from liking a page multiple times.
It also automatically detects the user's browser dark mode preferences and switches its skin to a dark version when preferred.
Installation - Vanilla JS 
Installation is simple:

The type signature of the constructor is:

It supports SSO to tie reactions to the user's account for authentication.
Currently, only Vanilla JS is supported. If you'd like this widget added to one of our client libraries, let us know!
Async Version

With SSO
You can pass Secure SSO or Simple SSO payloads as well:


Installation - WordPress 
On WordPress, enable this feature by installing a plugin like WPCode and adding the following HTML snippet to your blog's footer:
