FastComments.com

ื”ืชืืžื•ืช ื•ืชืฆื•ืจื”

ื”ืงืฉืจ

ื›ืืŸ ืชืžืฆืื• ืชื™ืขื•ื“ ืžืขืžื™ืง ืขืœ ื›ืœ ืื—ืช ืžื”ืชื›ื•ื ื•ืช ื•ื”ื”ื’ื“ืจื•ืช ืฉื”ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช ืชื•ืžืš ื‘ื”ืŸ.

ืชื™ืขื•ื“ ื–ื” ื™ื›ืกื” ืืช ื”ืžื•ืฉื’ื™ื ื”ืžืจื›ื–ื™ื™ื ื•ื™ืชืขืžืง ื‘ื›ืœ ืชื—ื•ื ืคื•ื ืงืฆื™ื•ื ืœื™ื•ืช, ืขื ืžื“ืจื™ื›ื™ื ืžืขืฉื™ื™ื ื•ื‘ืขื™ื•ืช ื ืคื•ืฆื•ืช.

ื™ืกื•ืคืงื• ื“ื•ื’ืžืื•ืช ืงื•ื“, ื›ืืฉืจ ื”ืฉื•ืจื•ืช ื”ืจืœื•ื•ื ื˜ื™ื•ืช ื™ื•ื“ื’ืฉื•. ืฆื™ืœื•ืžื™ ืžืกืš ืฉืœ ื“ืคื™ ื”ืชืฆื•ืจื” ื™ืกื•ืคืงื• ื‘ืžื™ื“ืช ื”ืฆื•ืจืš.

ื“ื•ื’ืžืื•ืช ื”ืงื•ื“ ื™ืฉืชืžืฉื• ื‘ืกืคืจื™ื™ืช vanilla JavaScript ืฉืœื ื•, ืื•ืœื ืืคืฉืจื•ื™ื•ืช ื”ืชืฆื•ืจื” ืžืฉืชืžืฉื•ืช ื‘ื“ื™ื•ืง ื‘ืื•ืชื ืฉืžื•ืช ื‘ื›ืœ ื”ื’ืจืกืื•ืช ืฉืœ ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช (React, Vue ื•ื›ื•').

ืจื•ื‘ ื”ื”ื’ื“ืจื•ืช ื•ื”ืชื›ื•ื ื•ืช ื”ืžืชื•ืืจื•ืช ื‘ืžื“ืจื™ืš ื–ื” ืื™ื ืŸ ื“ื•ืจืฉื•ืช ื›ืชื™ื‘ืช ืงื•ื“.


ื”ืฆื’ืช ืื•ืชืŸ ืชื’ื•ื‘ื•ืช ื‘ื“ืคื™ื ืฉื•ื ื™ื Internal Link

ืžื›ื™ื•ื•ืŸ ืฉื”ืคืจืžื˜ืจ urlId ืžืืคืฉืจ ืœื ื• ืœื”ื’ื“ื™ืจ ืœืื™ื–ื” ื“ืฃ, ืื• ืœืžื–ื”ื”, ื”ืชื’ื•ื‘ื•ืช ืžืฉื•ื™ื™ื›ื•ืช, ื ื•ื›ืœ ืคืฉื•ื˜ ืœื”ื’ื“ื™ืจ ืืช urlId ืœืื•ืชื• ืขืจืš ื‘ืขืžื•ื“ื™ื ืืœื”.

The Same Comments on Multiple Pages
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "urlId": "https://example.com/source-page"
8}];
9</script>
10

ื’ื•ืคื ื™ื ืžื•ืชืืžื™ื Internal Link

FastComments ื ื‘ื ื” ื›ื“ื™ ืœืืคืฉืจ ื”ืชืืžื” ืื™ืฉื™ืช, ื•ื”ื’ื•ืคืŸ ืฉื‘ื• ืžืฉืชืžืฉื™ื ื”ื•ื•ื™ื“ื’'ื˜ื™ื ืฉืœื ื• ืื™ื ื• ื™ื•ืฆื ืžืŸ ื”ื›ืœืœ.

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, FastComments ืžืฉืชืžืฉ ื‘-system font stack ื›ื“ื™ ืœื”ื™ืจืื•ืช ื”ื˜ื•ื‘ ื‘ื™ื•ืชืจ ืขืœ ืžื’ื•ื•ืŸ ืจื—ื‘ ืฉืœ ืžื›ืฉื™ืจื™ื.

ื›ื“ื™ ืœื”ื’ื“ื™ืจ ื’ื•ืคื ื™ื ืžืฉืœืš, ืจืื” ืืช ืชื™ืขื•ื“ ื”-CSS ื”ืžื•ืชืื.

ืฉื ืชืžืฆื ื“ืจืš ืœื”ื’ื“ื™ืจ CSS ืžื•ืชืื, ืฉื™ืืคืฉืจ ืœืš ืœืงื‘ื•ืข ืืช ื”ื’ื•ืคื ื™ื ื”ืจืฆื•ื™ื™ื.

ื›ื™ืฆื“ ืœื”ื’ื“ื™ืจ ืืช ื”ื’ื•ืคืŸ

ื›ื“ื™ ืœืขืงื•ืฃ ืืช ื”ื’ื•ืคืŸ, ืื ื• ืžืžืœื™ืฆื™ื ืœื”ื’ื“ื™ืจ ืืช ื”-CSS ืฉืœืš ื‘ืืžืฆืขื•ืช ื”ืกืœืงื˜ื•ืจื™ื .fast-comments, textarea. ืœื“ื•ื’ืžื”:

ื“ื•ื’ืžื” ืœื’ื•ืคืŸ ื—ื™ืฆื•ื ื™ ืžื•ืชืื
Copy CopyRun External Link
1
2@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
3.fast-comments, textarea {
4 font-family: 'Roboto', sans-serif;
5}
6

ืชืžื™ื›ื” ื‘ืจืงืขื™ื ื›ื”ื™ื (ืžืฆื‘ ื›ื”ื”) Internal Link


ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื•ื™ื“ื’'ื˜ ื”ื”ืขืจื•ืช ืฉืœ FastComments ื™ื–ื”ื” ืื•ื˜ื•ืžื˜ื™ืช ืžืฆื‘ ื›ื”ื” ื‘ืจื•ื‘ ื”ืืชืจื™ื.

ื›ืืฉืจ ืžื–ื•ื”ื” ืžืฆื‘ ื›ื”ื”, FastComments ื™ื”ืคื•ืš ื˜ืงืกื˜ ืฉื—ื•ืจ ืขืœ ืจืงืขื™ื ืœื‘ื ื™ื ืœื˜ืงืกื˜ ืœื‘ืŸ ืขืœ ืจืงืข ืฉื—ื•ืจ. ื’ื ืชืžื•ื ื•ืช ื™ืฉืชื ื•.

ื‘ืขืช ื˜ืขื™ื ืช ื”ื“ืฃ, ื”ื•ื•ื™ื“ื’'ื˜ ื™ื ืกื• ืœืงื‘ื•ืข ืขื“ ื›ืžื” ืจืงืข ื”ื“ืฃ ืžืื—ื•ืจื™ ื”ื•ื•ื™ื“ื’'ื˜ ื›ื”ื”. ืžืฉืžืขื•ืช ื”ื“ื‘ืจ ื”ื™ื ืฉ ื”ื“ืฃ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืขื ืจืงืข ืœื‘ืŸ, ืืš ืื ืชืฉื™ื ืืช ื”ื•ื•ื™ื“ื’'ื˜ ืฉืœ ื”ื”ืขืจื•ืช ื‘ืชื•ืš ืžื›ืœ (container) ืขื ืจืงืข ืฉื—ื•ืจ, ืžืฆื‘ ื›ื”ื” ืืžื•ืจ ืขื“ื™ื™ืŸ ืœื”ื™ื•ืช ืžื•ืคืขืœ ืื•ื˜ื•ืžื˜ื™ืช ื›ื“ื™ ืœื”ืงืœ ืขืœ ืงืจื™ืืช ื”ื”ืขืจื•ืช.

ืขื ื–ืืช, ืžื ื’ื ื•ืŸ ื”ื’ื™ืœื•ื™, ืฉืชืœื•ื™ ื‘ืงื‘ื™ืขืช "ื‘ื”ื™ืจื•ืช", ืขืฉื•ื™ ืฉืœื ืœื”ืคืขื™ืœ ืืช ืžืฆื‘-ื”ื›ื”ื” ื›ืืฉืจ ืชืจืฆื” ื‘ื›ืš. ื›ื“ื™ ืœืืœืฅ ื”ืคืขืœื” ืฉืœื•, ื”ื’ื“ืจ ืืช hasDarkBackground flag to true as follows:

Force Dark Background Mode
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "hasDarkBackground": true
8}];
9</script>
10

ืงื™ืฉื•ืจ ืชื’ื•ื‘ื•ืช ืœื“ืคื™ื Internal Link

ื›ืฉืฉื•ืœื—ื™ื ื”ื•ื“ืขื•ืช ื“ื•ืืจ ืืœืงื˜ืจื•ื ื™ ืขืœ ื”ืชืจืื•ืช, ืื• ืžืฆื™ื’ื™ื ืชื’ื•ื‘ื•ืช ื‘ืžืžืฉืงื™ ืžืฉืชืžืฉ ื›ืžื• ื“ืฃ ื”ืžื•ื“ืจืฆื™ื”, ื–ื” ืžื•ืขื™ืœ ืœื”ื™ื•ืช ืžืกื•ื’ืœื™ื ืœืงืฉืจ ืžืชื•ืš ื”ืชื’ื•ื‘ื” ืืœ ื”ื“ืฃ ืฉื‘ื• ื”ื™ื ื ืžืฆืืช.

ืื ืžื–ื”ื” ื”-URL ืื™ื ื• ืชืžื™ื“ ืžื–ื”ื”, ืื– ืขืœื™ื ื• ืœืื—ืกืŸ ืืช ื”-URL ื‘ืžืงื•ื ืื—ืจ. ืœืฉื ื›ืš ืงื™ื™ื ื”ืžืืคื™ื™ืŸ "url", ื”ืžื•ื’ื“ืจ ื›ื“ืœืงืžืŸ.

Defining a Custom URL
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "url": "https://example.com/article-5"
8}];
9</script>
10

ืžืงืจื” ืฉื™ืžื•ืฉ ื ืคื•ืฅ ื”ื•ื ืงืฉื™ืจืช ืฉืจืฉื•ืจ ื”ืชื’ื•ื‘ื•ืช ืœืžื–ื”ื”, ื›ืžื• ืžืืžืจ, ื•ืœืื—ืจ ืžื›ืŸ ืงื™ืฉื•ืจ ื—ื–ืจื” ืœื“ืฃ ืžืกื•ื™ื, ืœื“ื•ื’ืžื”:

Defining Custom URL and URL IDs together
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "url": "https://example.com/article-5",
8 "urlId": "article-5"
9}];
10</script>
11

ื”-URL ืื™ื ื• ืžื ื•ืงื” ืžืคืจืžื˜ืจื™ื ืฉื™ื•ื•ืงื™ื™ื ื ืคื•ืฆื™ื. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื”-URL ืฉืœ ื”ื“ืฃ ื”ื ื•ื›ื—ื™ ื ืฉืžืจ ืขื ื”ืชื’ื•ื‘ื”.


ืงื‘ื™ืขืช ืื™ื–ื” ื“ืฃ ืœื”ืฆื™ื’ Internal Link

ื‘ืขืช ืฉืœื™ืคืช ืชื’ื•ื‘ื•ืช ื•ื”ืฆื’ืชืŸ, ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช ืฆืจื™ืš ืœื“ืขืช ืžืื™ื–ื” ืขืžื•ื“ ืœื”ืชื—ื™ืœ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืฉื”ื•ื ืžืชื—ื™ืœ ืขื ื”ืขืžื•ื“ ื”ืจืืฉื•ืŸ, ื•ืžืฆื™ื’ ืจืง ืืช ืื•ืชื• ืขืžื•ื“.

ืื ืจืฆื•ื™, ื ื™ืชืŸ ืœื”ืขื‘ื™ืจ ืœื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช ืืช ืžืกืคืจ ื”ืขืžื•ื“ ื”ืžื“ื•ื™ืง ืฉื™ืฉ ืœื”ืฆื™ื’ ื‘ืืžืฆืขื•ืช ื”ื”ื’ื“ืจื” startingPage.

Specifying The Page to Render
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "startingPage": 1
8}];
9</script>
10

ืฉื™ื ืœื‘ ืฉืžืกืคืจื™ ื”ืขืžื•ื“ื™ื ืžืชื—ื™ืœื™ื ืž-0, ื•ืœื›ืŸ ื”ื“ื•ื’ืžื” ืฉืœืžืขืœื” ืžืฆื™ื’ื” ืืช ื”ืขืžื•ื“ ื”ืฉื ื™.


ื”ื—ืœืคืช ืฉืจืฉื•ืจื™ ืชื’ื•ื‘ื•ืช ืœืœื ืจืขื ื•ืŸ ื”ื“ืฃ Internal Link

ื›ื‘ืจ ื›ื™ืกื™ื ื• ื›ื™ืฆื“ urlId ื”ื•ื ื”-id ืฉืœ ื”ื“ืฃ ืื• ื”ืžืืžืจ ืฉืืœื™ื”ื ืงืฉื•ืจื™ื ื”ืชื’ื•ื‘ื•ืช.

ื’ื, ืœืกื™ื›ื•ื, ืื ืœื ื”ื•ื’ื“ืจ urlId ื”ื•ื ื™ื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืœ-URL ืฉืœ ื”ื“ืฃ ื”ื ื•ื›ื—ื™.

ืžื” ืœื’ื‘ื™ SPA-ื™ื, ืื• Single-Page-Applications, ืฉื‘ื”ื ื”ื“ืฃ ืื• ื”ืชื•ื›ืŸ ืฉืืœื™ื”ื ืงืฉื•ืจื•ืช ื”ืชื’ื•ื‘ื•ืช ืžืฉืชื ื™ื ื“ื™ื ืžื™ืช ืœืœื ืจืขื ื•ืŸ ืžืœื ืฉืœ ื”ื“ืฃ?

Angular, React, Vue, ื•ื›ื•'

ืขื ื”ืกืคืจื™ื•ืช ืฉืœื ื• ื›ื’ื•ืŸ Angular ื•-React, ืขื“ื›ื•ืŸ ืคืฉื•ื˜ ืฉืœ ืžืืคื™ื™ืŸ urlId ืฉืžื•ืขื‘ืจ ืœ-widget ื™ื’ืจื•ื ืœ-widget ืฉืœ ื”ืชื’ื•ื‘ื•ืช ืœื”ืชืขื“ื›ืŸ. ื ื™ืชืŸ ืœืจืื•ืช ื–ืืช ื‘ืคืขื•ืœื” ืขื‘ื•ืจ ืืคืœื™ืงืฆื™ื™ืช ื”-React, ืœืžืฉืœ, ื›ืืŸ.

VanillaJS

ืื ืืชื ืžืฉืชืžืฉื™ื ื‘ืกืคืจื™ื™ืช VanillaJS ื–ื” ืงืฆืช ื™ื•ืชืจ ืžื•ืจื›ื‘ ืžืื—ืจ ื•ืื™ืŸ ืžืกื’ืจืช ื›ืžื• Angular ืื• React ืœื˜ื™ืคื•ืœ ื‘-data binding ืื• ื‘ื”ืคืฆืช ื”-state.

ื›ืืฉืจ ืืชื ืžืืชื—ืœื™ื ืืช ื”-widget ืฉืœ VanillaJS, ื”ื•ื ืžื—ื–ื™ืจ ืžืกืคืจ ืคื•ื ืงืฆื™ื•ืช ืฉื ื™ืชืŸ ืœืงืจื•ื ืœื”ืŸ ื›ื“ื™ ืœืขื“ื›ืŸ ืื•ืชื•.

ื”ื ื” ื“ื•ื’ืžื” ืคื•ื ืงืฆื™ื•ื ืœื™ืช ืฉื‘ื” ืื ื• ืžืฉื ื™ื ืืช ื”-hash ืฉืœ ื”ื“ืฃ ื•ืžืขื“ื›ื ื™ื ืืช ื”-widget ืฉืœ ื”ืชื’ื•ื‘ื•ืช:

ื“ื•ื’ืžื” ืœืฉื™ื ื•ื™ ื”-hash ืฉืœ ื”ื“ืฃ
Copy CopyRun External Link
1
2<script src="https://cdn.fastcomments.com/js/embed-v2.min.js"></script>
3<button id="change-page"></button>
4<div id="fastcomments-widget"></div>
5<script>
6 (function fastCommentsMain() {
7 let config = {
8 tenantId: 'demo'
9 };
10 let instance = window.FastCommentsUI(document.getElementById('fastcomments-widget'), config);
11
12 let page = '#page-1';
13 function getNextPage() {
14 if (page === '#page-1') {
15 return '#page-2';
16 } else {
17 return '#page-1';
18 }
19 }
20
21 let button = document.getElementById('change-page');
22 function nextPage() {
23 page = getNextPage();
24 button.innerText = 'Go to ' + getNextPage();
25 window.location.hash = page;
26 let locationString = window.location.toString();
27
28 config.url = locationString; // We update url, too, so notifications can link back to the right page
29 config.urlId = locationString;
30
31 instance.update(config);
32 }
33 nextPage();
34 button.addEventListener('click', nextPage);
35 })();
36</script>
37

ื”ืฉื‘ืชืช ื”ืคื ื™ื™ืช ืชืžื•ื ื•ืช Internal Link

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, FastComments ืžืืคืฉืจ ืœืžืฉืชืžืฉื™ื ืœื”ืขืœื•ืช ืชืžื•ื ื•ืช. ื›ืืฉืจ ืžืฉืชืžืฉ ืœื•ื—ืฅ ืขืœ ืชืžื•ื ื” ื–ื•, FastComments, ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืชืคืชื— ื›ืจื˜ื™ืกื™ื™ื” ื—ื“ืฉื” ื›ื“ื™ ืœื”ืฆื™ื’ ืืช ื”ืชืžื•ื ื” ื‘ืžืœื•ืื”. ื”ื’ื“ืจืช ื”ื“ื’ืœ ื”ื–ื” ืœ-true ืžื‘ื˜ืœืช ื”ืชื ื”ื’ื•ืช ื–ื•:

Disable Image Redirect
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "disableImageRedirect": true
8}];
9</script>
10

ืื ืื™ื ืš ืžืชื›ื ืŸ ืœืœื›ื•ื“ ืืช ืœื—ื™ืฆืช ื”ืชืžื•ื ื” ื‘ืขืฆืžืš (ืจืื” onImageClicked), ืื ื• ืžืžืœื™ืฆื™ื ืœืฉืœื‘ ื–ืืช ืขื ืžืขื˜ ืขื™ืฆื•ื‘ ื›ื“ื™ ืœื”ืกื™ืจ ืืช ื”ืžืจืื” ืฉื”ืชืžื•ื ื” ื ืจืื™ืช ื ื™ืชื ืช ืœืœื—ื™ืฆื”.

ื”ื“ื’ืฉืช ืชื’ื•ื‘ื•ืช ื—ื“ืฉื•ืช Internal Link

FastComments ืžืกืคืง ืžืกืคืจ ื“ืจื›ื™ื ืœื”ื“ื’ืฉืช ืชื’ื•ื‘ื•ืช ื—ื“ืฉื•ืช.

ืจืืฉื™ืช ื•ื‘ื—ืฉื™ื‘ื•ืช ืขืœื™ื•ื ื”, ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืชื’ื•ื‘ื•ืช ืฉื”ืคืขื™ืœื• ื”ืชืจืื” ื‘ืชื•ืš ื”ืืคืœื™ืงืฆื™ื” (ืชื’ื•ื‘ื•ืช, ืชื’ื•ื‘ื•ืช ื‘ืื•ืชื• ืืฉื›ื•ืœ, ืื• ืชื’ื•ื‘ื•ืช ื‘ืขืžื•ื“ ืฉืืชื” ืžื ื•ื™ ืืœื™ื•), ื™ื•ื“ื’ืฉื• ืื•ื˜ื•ืžื˜ื™ืช ื‘ื›ืš ืฉื”ืื•ื•ื˜ืืจ ืฉืœ ื”ืžืฉืชืžืฉ ื™ื–ื”ืจ ืงืœื•ืช. ื ื™ืชืŸ ืœื”ืชืื™ื ืืช ื”ืฆื‘ืข ื‘-CSS using the is-unread class.

ืชื’ื•ื‘ื•ืช ืฉื ืฉืœื—ื• ื‘-24 ื”ืฉืขื•ืช ื”ืื—ืจื•ื ื•ืช ืžืงื‘ืœื•ืช ืืช ื”ืžื—ืœืงื” 24hr ืฉื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื” ืœืขื™ืฆื•ื‘.

ืœื‘ืกื•ืฃ, ื›ืœ ืชื’ื•ื‘ื•ืช ื—ื™ื•ืช ื—ื“ืฉื•ืช ืฉืžื•ืคื™ืขื•ืช ื‘ืžื•ืฉื‘ ืฉืœ ื”ืžืฉืชืžืฉ ื™ื•ื“ื’ืฉื• ืœืžืฉืš ืžืกืคืจ ืฉื ื™ื•ืช ื‘ืืžืฆืขื•ืช ืื ื™ืžืฆื™ื”. ื–ื” ื ืขืฉื” ื‘ืืžืฆืขื•ืช is-live CSS class ื•ื ื™ืชืŸ ืœื”ืชืืžื” ื’ื ื›ืŸ.

ืชื‘ื ื™ื•ืช ื“ื•ืืจ ืืœืงื˜ืจื•ื ื™ Internal Link

ืื™ืžื™ื™ืœื™ื ืฉื ืฉืœื—ื™ื ืž-FastComments ืœืœืงื•ื—ื•ืช ืฉืœื›ื ื ื™ืชื ื™ื ืœื”ืชืืžื”. ื”ืชื‘ื ื™ืช, ื”ืœื•ื’ื™ืงื”, ื•ื”ืชืจื’ื•ืžื™ื ื ื™ืชื ื™ื ืœืฉื™ื ื•ื™. ื ื™ืชืŸ ืœื”ืชืื™ื ืืช ื”ื˜ืงืกื˜ ืœื›ืœ ืฉืคื”/ืื–ื•ืจ (locale), ื•ื”ืขื™ืฆื•ื‘ ื ื™ืชืŸ ืืฃ ืœืฉื ื•ืชื• ืœื›ืœ ื“ื•ืžื™ื™ืŸ. ืœืžื™ื“ืข ื ื•ืกืฃ ืขืœ ืชื‘ื ื™ื•ืช ืื™ืžื™ื™ืœ ืžื•ืชืืžื•ืช ืื™ืฉื™ืช, ืœื—ืฆื• ื›ืืŸ.

ื”ืฆื‘ืช ืชื’ื•ื‘ื•ืช ื—ื™ื•ืช ื—ื“ืฉื•ืช ื‘ืชื—ืชื™ืช Internal Link

ื‘ื‘ืจื™ืจืช ืžื—ื“ืœ, ืชื’ื•ื‘ื•ืช ื—ื™ื•ืช ื—ื“ืฉื•ืช ืžื•ืคื™ืขื•ืช ื‘ืจืืฉ ืจืฉื™ืžืช ื”ืชื’ื•ื‘ื•ืช ื›ืฉื”ืŸ ื ืฉืœื—ื•ืช ื‘ื–ืžืŸ ืืžืช.

ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช, ืชื’ื•ื‘ื•ืช ื—ื™ื•ืช ื—ื“ืฉื•ืช ื™ืชื•ื•ืกืคื• ื‘ืžืงื•ื ื–ืืช ืœืชื—ืชื™ืช ื”ืจืฉื™ืžื”. ื–ื” ืžืฉืคื™ืข ืขืœ ื”ืื•ืคืŸ ืฉื‘ื• ืชื’ื•ื‘ื•ืช ืžื•ืคื™ืขื•ืช ื›ืืฉืจ ื”ืŸ ื ืฉืœื—ื•ืช ื‘ื–ืžืŸ ืืžืช ื‘ืขื•ื“ ืฉืžืฉืชืžืฉื™ื ืฆื•ืคื™ื ื‘ืชืฉืจืฉื•ืจ ื”ืชื’ื•ื‘ื•ืช.

New Live Comments to Bottom
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "newCommentsToBottom": true
8}];
9</script>
10

ื›ืืฉืจ ื”ื’ื“ืจื” ื–ื• ืžื•ืคืขืœืช:

  • ืชื’ื•ื‘ื•ืช ื—ื™ื•ืช ื—ื“ืฉื•ืช ืฉืคื•ืจืกืžื• ืขืœ-ื™ื“ื™ ืžืฉืชืžืฉื™ื ืื—ืจื™ื ื™ื•ืคื™ืขื• ื‘ืชื—ืชื™ืช ืจืฉื™ืžืช ื”ืชื’ื•ื‘ื•ืช
  • ืžืฉืชืžืฉื™ื ื™ืจืื• ืชื’ื•ื‘ื•ืช ื—ื“ืฉื•ืช ืžื•ืคื™ืขื•ืช ืžืชื—ืช ืœืชื’ื•ื‘ื•ืช ื”ืงื™ื™ืžื•ืช ื‘ื–ืžืŸ ืืžืช
  • ื–ื” ืžืฉืคื™ืข ืจืง ืขืœ ืขื“ื›ื•ื ื™ ืชื’ื•ื‘ื•ืช ื‘ื–ืžืŸ ืืžืช - ืœื ืขืœ ื˜ืขื™ื ืช ื”ื“ืฃ ื”ืจืืฉื•ื ื™ืช
  • ื–ื” ื™ื›ื•ืœ ืœืขื–ื•ืจ ืœืฉืžื•ืจ ืขืœ ืจืฆืฃ ื”ืงืจื™ืื” ื›ืืฉืจ ืžืฉืชืžืฉื™ื ืขื•ืงื‘ื™ื ืื—ืจื™ ื“ื™ื•ืŸ

ืฉื™ื ืœื‘ ืฉื”ื’ื“ืจื” ื–ื• ืžืฉืคื™ืขื” ืจืง ืขืœ ื”ืžืงื•ื ืฉื‘ื• ืชื’ื•ื‘ื•ืช ื—ื™ื•ืช ื—ื“ืฉื•ืช ืžืžื•ืงืžื•ืช ื›ืฉื”ืŸ ืžื’ื™ืขื•ืช ื‘ื–ืžืŸ ืืžืช. ื”ื™ื ืื™ื ื” ืžืฉืคื™ืขื” ืขืœ ืกื“ืจ ื”ืžื™ื•ืŸ ื”ืจืืฉื•ื ื™ ื‘ืขืช ื˜ืขื™ื ืช ื”ื“ืฃ.

ื”ืคืขืœืช ื’ืœื™ืœื” ืื™ื ืกื•ืคื™ืช Internal Link

ื‘ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ื”ื•ื•ื™ื“ื’'ื˜ ืฉืœ FastComments ื™ืกืชื’ืœ ืœื’ื•ื‘ื” ืขืฆืžื• ื›ื“ื™ ืœื”ืชืื™ื ืืช ื›ืœ ื”ืชื’ื•ื‘ื•ืช ื”ื ืจืื•ืช. ืขื™ืžื•ื“ ืžืชื‘ืฆืข ื‘ืืžืฆืขื•ืช ื›ืคืชื•ืจ "ื”ืฆื’ ื”ื‘ื" ื‘ืกื•ืฃ ื”ืขืžื•ื“ ื”ื ื•ื›ื—ื™, ื›ื™ ืžืฆืื ื• ืฉื–ื• ื”ืื™ื ื˜ืจืืงืฆื™ื” ืฉืžืจื’ื™ืฉื” ื”ื›ื™ ื ืขื™ืžื” ืœืจื•ื‘ ื”ืžืฉืชืžืฉื™ื.

ืขื ื–ืืช, ื™ืฉื ื ืžืงืจื™ื ืฉื‘ื”ื ืžืขื“ื™ืคื™ื ื’ืœื™ืœื” ืื™ื ืกื•ืคื™ืช. ืœื“ื•ื’ืžื”, ืื ื• ืžืฉืชืžืฉื™ื ื‘ืชื›ื•ื ื” ื–ื• ื‘ืžื•ืฆืจ Stream Chat ืฉืœื ื•.

ื ื™ืชืŸ ืœื”ืกืชื™ืจ ืืช ื›ืคืชื•ืจื™ "ื”ืฆื’ ื”ื‘ื" ื•ืœืขื‘ื•ืจ ืœื’ืœื™ืœื” ืื™ื ืกื•ืคื™ืช ืขืœ ื™ื“ื™ ื”ื’ื“ืจืช ื”ื“ื’ืœ enableInfiniteScrolling ืœtrue:

Enabling Infinite Scrolling
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "enableInfiniteScrolling": true
8}];
9</script>
10

ื–ื” ื’ื ื“ื•ืจืฉ ื”ื•ืกืคื” ืฉืœ CSS ืžื•ืชืื ืื™ืฉื™ืช. ื”ื•ืกืฃ CSS ืžื•ืชืื ืื™ืฉื™ืช ืœื‘ื•ื—ืจ .comments ื›ื“ื™ ืœืืคืฉืจ ื’ืœื™ืœื”, ืœื“ื•ื’ืžื”:

ื”ืคืขืœืช ื’ืœื™ืœื” ืื™ื ืกื•ืคื™ืช
Copy CopyRun External Link
1
2.comments {
3 max-height: 500px;
4 overflow-y: auto;
5}
6

ื“ื•ื’ืžื” ืขื•ื‘ื“ืช ืžืœืื” ืชื”ื™ื”:

Enabling Infinite Scrolling
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "enableInfiniteScrolling": true,
8 "customCSS": ".comments { max-height: 500px; overflow-y: auto; }"
9}];
10</script>
11

ื‘ื“ื•ื’ืžื” ืฉืœืขื™ืœ ืื ื• ืžืฉืชืžืฉื™ื ื‘ืžืืคื™ื™ืŸ customCSS, ืขื ื–ืืช ืžื•ืžืœืฅ ืœื”ืฉืชืžืฉ ื‘ืžืงื•ื ื–ืืช ื‘-Widget Configuration UI ืžืกื™ื‘ื•ืช ื‘ื™ืฆื•ืขื™ื. ืจืื” ืืช ื”ืชื™ืขื•ื“ ืฉืœ CSS ืžื•ืชืื ืื™ืฉื™ืช.


ื”ืฆื’ืช ื›ืœ ื”ืชื’ื•ื‘ื•ืช ื‘ื‘ืช ืื—ืช โ€” ื”ืฉื‘ืชืช ืขื™ืžื•ื“ Internal Link

ื›ื“ื™ ืœื‘ื˜ืœ ืืช ื—ืœื•ืงืช ื”ืขืžื•ื“ื™ื ื•ืœื”ืฆื™ื’ ืืช ื›ืœ ื”ืชื’ื•ื‘ื•ืช ื‘ื‘ืช ืื—ืช, ื”ื’ื“ืจ ืืช startingPage ืœ-1.

Render All Comments
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "startingPage": -1
8}];
9</script>
10

ืžื ื™ืขืช ืชื’ื•ื‘ื•ืช ื—ื“ืฉื•ืช ื‘ืจืžืช ื”ืฉื•ืจืฉ Internal Link


ื”ื’ื“ืจืช noNewRootComments ืœ-true ืชื’ืจื•ื ืœื•ื•ื™ื“ื’'ื˜ ืœื”ืกืชื™ืจ ืืช ืื–ื•ืจ ื”ืชื’ื•ื‘ื” ื”ืจืืฉื™, ืืš ืขื“ื™ื™ืŸ ืœืืคืฉืจ ืœืžืฉืชืžืฉื™ื ืœื”ื’ื™ื‘ ืœืชื’ื•ื‘ื•ืช ื”ืžืฉื ื™ื•ืช. ืœื“ื•ื’ืžื”, ืชื•ื›ืœ ืœื”ื’ื“ื™ืจ ื–ืืช ื‘ืื•ืคืŸ ืžื•ืชื ื” ื‘ืขืช ื˜ืขื™ื ืช ื”ื“ืฃ ื›ื“ื™ ืœืืคืฉืจ ืจืง ืœื—ืœืง ืžื”ืžืฉืชืžืฉื™ื ืœื”ืฉืื™ืจ ืชื’ื•ื‘ื•ืช ื‘ืจืžื” ื”ืขืœื™ื•ื ื”.

Prevent New Root Comments
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "noNewRootComments": true
8}];
9</script>
10

ืžืงืกื™ืžื•ื ืขื•ืžืง ืชื’ื•ื‘ื•ืช Internal Link

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, FastComments ืžืืคืฉืจ ืงื™ื ื•ืŸ ื‘ืœืชื™ ืžื•ื’ื‘ืœ ืฉืœ ืชื’ื•ื‘ื•ืช, ื•ื™ื•ืฆืจ ืžื‘ื ื” ืคืชื™ืœ (thread) ืฉื‘ื• ืžืฉืชืžืฉื™ื ื™ื›ื•ืœื™ื ืœื”ืฉื™ื‘ ืœืชืฉื•ื‘ื•ืช ืœืœื ื”ื’ื‘ืœื”.

ื”ืืคืฉืจื•ืช maxReplyDepth ืžืืคืฉืจืช ืœืš ืœื”ื’ื‘ื™ืœ ืขื“ ื›ืžื” ืขืžื•ืงื™ื ื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ืฉืจืฉื•ืจื™ ื”ืชืฉื•ื‘ื•ืช. ื›ืืฉืจ ืžื’ื™ืขื™ื ืœืขื•ืžืง ื”ืžืงืกื™ืžืœื™, ื”ืžืฉืชืžืฉื™ื ื›ื‘ืจ ืœื ื™ืจืื• ื›ืคืชื•ืจ ืชื’ื•ื‘ื” ืขืœ ื”ืชื’ื•ื‘ื•ืช ื‘ืจืžื” ื–ื•.

Limiting Reply Depth to 2 Levels
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "maxReplyDepth": 2
8}];
9</script>
10

With maxReplyDepth set to 2:

  • Users can comment at the top level (depth 0)
  • Users can reply to top-level comments (depth 1)
  • Users can reply to those replies (depth 2)
  • No further replies are allowed beyond depth 2

Setting to 1 would only allow replies to top-level comments, creating a flatter discussion structure.

Setting maxReplyDepth to 0 would disable all replies, allowing only top-level comments. If not specified, replies can be nested without limit.

ืกืงื™ืจื” ืฉืœ ื›ื ื™ืกื” ื™ื—ื™ื“ื” (SSO) Internal Link

SSO, ืื• ื›ื ื™ืกื” ื™ื—ื™ื“ื” (single-sign-on), ื”ื•ื ืกื˜ ืฉืœ ืงื•ื ื‘ื ืฆื™ื•ืช ื”ืžืฉืžืฉื•ืช ืœืืคืฉืจ ืœืš ืื• ืœืžืฉืชืžืฉื™ืš ืœื”ืฉืชืžืฉ ื‘โ€‘FastComments ื‘ืœื™ ื”ืฆื•ืจืš ืœื™ืฆื•ืจ ื—ืฉื‘ื•ืŸ ื ื•ืกืฃ.

ื‘ื”ื ื—ื” ืฉืื™ื ืš ืžืืคืฉืจ ืชื’ื•ื‘ื•ืช ืื ื•ื ื™ืžื™ื•ืช, ื“ืจื•ืฉ ื—ืฉื‘ื•ืŸ ื›ื“ื™ ืœื”ื’ื™ื‘ ืขื FastComments. ืื ื• ืขื•ืฉื™ื ืืช ืชื”ืœื™ืš ื”ื”ืจืฉืžื” ื”ื–ื” ืžืื•ื“ ืคืฉื•ื˜ โ€” ื”ืžืฉืชืžืฉ ืคืฉื•ื˜ ืžืฉืื™ืจ ืืช ื”ืื™ืžื™ื™ืœ ืฉืœื• ื›ืืฉืจ ื”ื•ื ืžื’ื™ื‘. ืขื ื–ืืช, ืื ื• ืžื‘ื™ื ื™ื ืฉืืคื™ืœื• ื–ื” ืžื”ื•ื•ื” ื—ื™ื›ื•ืš ื ื•ืกืฃ ืฉื—ืœืง ืžื”ืืชืจื™ื ืžืขื“ื™ืคื™ื ืœื”ื™ืžื ืข ืžืžื ื•.

ื ื•ื›ืœ ืœื”ืคื—ื™ืช ืืช ื”ื—ื™ื›ื•ืš ื”ื–ื” ืขืœโ€‘ื™ื“ื™ ืงื™ื•ื ื–ืจื™ืžืช ื”ืชื—ื‘ืจื•ืช ืื—ืช ืœื›ืœ ื”ืืชืจ ืฉืœืš.

ืื™ืš ืžืงื‘ืœื™ื ืืช ื–ื”?

ื›ืœ ืกื•ื’ื™ ื”ื—ืฉื‘ื•ื ื•ืช ื›ื™ื•ื ืžืงื‘ืœื™ื ื’ื™ืฉื” ืœโ€‘SSO. ืขื ื–ืืช, ื”ืžืงืกื™ืžื•ื ืฉืœ ืžืฉืชืžืฉื™ SSO ื™ืฉืชื ื” ื‘ื”ืชืื ืœื—ื‘ื™ืœื” ืฉืœืš. ื›ืžื• ื‘ืชื›ื•ื ื•ืช ืื—ืจื•ืช, ื”ืชื•ื›ื ื™ื•ืช Pro ื•ืžืขืœื” ืžืกืคืงื•ืช ืชืžื™ื›ื” ืคื™ืชื•ื—ื™ืช ื™ืฉื™ืจื”.

ื‘ื•ืื• ื ืฉื•ื•ื” ืืช ื”ืืคืฉืจื•ื™ื•ืช, ื•ืื– ื ืขื‘ื•ืจ ืœืคืจื˜ื™ื ืฉืœ ื›ืœ ืื—ืช.

ื”ืขื‘ืจื•ืช ืžืฉืชืžืฉื™ื ื•ืชื’ื•ื‘ื•ืช

ื›ืืฉืจ ืขื•ื‘ืจื™ื ืžืคืœื˜ืคื•ืจืžื” ืขื SSO ื›ืžื• Disqus, ื›ื‘ืจ ื™ื”ื™ื• ืœืš ืžืฉืชืžืฉื™ื ื•ื”ืชื’ื•ื‘ื•ืช ืฉืœื”ื.

ื”ืชื’ื•ื‘ื•ืช ืžื™ื•ื‘ืื•ืช ื›ื—ืœืง ืžื”ื”ื’ื™ืจื”, ืื• ื“ืจืš ื”โ€‘API, ืžืžืฉืง ื”ื™ื™ื‘ื•ื ืฉืœื ื•, ืื• ืชืžื™ื›ืช ื”ืœืงื•ื—ื•ืช. ืžืžืฉืง ื”ื™ื™ื‘ื•ื ืžื•ืžืœืฅ ืื ื”ื•ื ืชื•ืžืš ื‘ืคืœื˜ืคื•ืจืžื” ืฉืžืžื ื” ืืชื” ืž Migrating, ืžืื—ืจ ืฉื”ื•ื ื›ื•ืœืœ ื˜ื™ืคื•ืœ ื‘ืฉื’ื™ืื•ืช, ื—ื™ืœื•ืฅ ื•ื”ืขืœืืช ืื•ื•ื˜ืจื™ื ื•ืžื“ื™ื”, ื•ืžืขืจื›ืช ื ื™ื˜ื•ืจ ืœืขื‘ื•ื“ื•ืช ืืฆื•ื•ื”.

ื”ืžืฉืชืžืฉื™ื ืขืฆืžื ืžืชื•ื•ืกืคื™ื ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™ ื‘ืขืช ืฆืคื™ื™ื” ื‘ืฉืจืฉื•ืจื™ ืชื’ื•ื‘ื•ืช ื‘ืคืขื ื”ืจืืฉื•ื ื”. ื›ืชื—ืœื™ืฃ, ื ื™ืชืŸ ืœื”ื•ืกื™ืฃ ืื•ืชื ืžืจืืฉ ื“ืจืš ื”โ€‘API, ืืš ืขื‘ื•ื“ื” ื–ื• ืœื ืžื‘ื™ืื” ื™ืชืจื•ื ื•ืช ืจื‘ื™ื.

ืื ืชื’ื•ื‘ื•ืช ืžื™ื•ื‘ืื•ืช ื•ื”ืžืฉืชืžืฉื™ SSO ืœื ืžืชื•ื•ืกืคื™ื ื™ื“ื ื™ืช ื“ืจืš ื”โ€‘API, ืื– ื”ืชื’ื•ื‘ื•ืช ื™ื•ืขื‘ืจื• ืื•ื˜ื•ืžื˜ื™ืช ืœื—ืฉื‘ื•ืŸ ื”ืžืฉืชืžืฉ ื‘ืคืขื ื”ืจืืฉื•ื ื” ืฉื”ื•ื ื ื•ืฆืจ ื›ืืฉืจ ื”ื ืฆื•ืคื™ื ื‘ื›ืœ ืฉืจืฉื•ืจ ืชื’ื•ื‘ื•ืช. ื”ื ืื– ื™ื•ื›ืœื• ืœื ื”ืœ, ืœืขืจื•ืš ื•ืœืžื—ื•ืง ืืช ื”ื”ืขืจื•ืช ืฉื›ืชื‘ื• ื‘ืžืงื•ืจ.

ื”ื”ื’ื™ืจื” ื”ืื•ื˜ื•ืžื˜ื™ืช ืžืชื‘ืฆืขืช ื‘ืืžืฆืขื•ืช ืื™ืžื™ื™ืœ ืื• ืฉื ืžืฉืชืžืฉ. ื—ืœืง ืžื”ืคืœื˜ืคื•ืจืžื•ืช ืื™ื ืŸ ืžืกืคืงื•ืช ืื™ืžื™ื™ืœื™ื ื‘ื™ืฆื•ื, ื›ืžื• Disqus, ืœื›ืŸ ืื ื• ื—ื•ื–ืจื™ื ืœืฉื ื”ืžืฉืชืžืฉ ื‘ืžืงืจื” ื–ื”.

  • ื›ืœ ืขื•ื“ ืืชื” ืžืขื‘ื™ืจ ืฉื ืžืฉืชืžืฉ ืชื•ืื, ื•ืื™ืžื™ื™ืœ ื‘โ€‘SSO payload, ื ื•ืกื™ืฃ ืืช ื”ืื™ืžื™ื™ืœ ืœืื•ื‘ื™ื™ืงื˜ื™ ื”ืชื’ื•ื‘ื” ื”ื™ื—ื™ื“ื ื™ื™ื ื›ืš ืฉื”ื”ืชืจืื•ืช ื•ื”ืื–ื›ื•ืจื™ื ื™ืขื‘ื“ื•.

ืื ืจืฆื•ื ืš ืœื™ื™ื‘ื ืืช ื”ื”ืขืจื•ืช ื•ื”ืžืฉืชืžืฉื™ื ื‘ื•โ€‘ื–ืžื ื™ืช, ืขื‘ื“ ืขื ื”ืชืžื™ื›ื” ื›ื“ื™ ืœื”ืขื‘ื™ืจ ืืช ื”ื”ืขืจื•ืช ืœื—ืฉื‘ื•ื ื•ืช ื”ืžืชืื™ืžื™ื ืœืื—ืจ ืฉื”ืžืฉืชืžืฉื™ื ืžื™ื•ื‘ืื™ื ื“ืจืš ื”โ€‘API.

ืœืกื™ื›ื•ื, ื”ื ืชื™ื‘ ื”ืงืœ ื‘ื™ื•ืชืจ ืœื”ื’ื™ืจื” ื”ื•ื:

  1. ื™ื™ื‘ื ืชื’ื•ื‘ื•ืช.
    1. ืื•ื•ื˜ืจื™ื ื•ืžื“ื™ื” ืื—ืจืช ืžื™ื•ืขื‘ืจื™ื ืื•ื˜ื•ืžื˜ื™ืช ืื ืžืฉืชืžืฉื™ื ื‘โ€‘Import UI ื‘โ€‘Manage Data -> Imports.
  2. ื”ื’ื“ืจ SSO ืžืื•ื‘ื˜ื— ืื• ืคืฉื•ื˜ (Secure ืื• Simple SSO).
  3. ืืคืฉืจ ืœื”ื’ื™ืจื” ืœื”ืชืจื—ืฉ ืœืคื™ ืžืฉืชืžืฉ ืื•ื˜ื•ืžื˜ื™ืช ื›ืืฉืจ ื”ื ื ื›ื ืกื™ื ืœืจืืฉื•ื ื”.
    1. ื‘ื“ืจืš ื›ืœืœ ื–ื” ืžื•ืกื™ืฃ ืคื—ื•ืช ืžืฉื ื™ื™ื” ืœื–ืžืŸ ื˜ืขื™ื ืช ื”ื“ืฃ ืื ืœืžืฉืชืžืฉ ืคื—ื•ืช ืžโ€‘50k ืชื’ื•ื‘ื•ืช.

ืžืฉืชืžืฉื™ WordPress

ืื ืืชื” ืžืฉืชืžืฉ ื‘โ€‘ืชื•ืกืฃ WordPress ืฉืœื ื• ืื– ืื™ืŸ ืงื•ื“ ืœื›ืชื•ื‘! ืคืฉื•ื˜ ืขื‘ื•ืจ ืœืขืžื•ื“ ื”ื ื™ื”ื•ืœ ืฉืœ ื”ืชื•ืกืฃ, ืœื—ืฅ ืขืœ SSO Settings, ื•ืื– ื”ืคืขืœ.

ื–ื” ื™ื•ื‘ื™ืœ ืื•ืชืš ืœืงื•ืกื ื‘ืœื—ื™ืฆื” ื™ื—ื™ื“ื” ืฉื™ื™ืฆื•ืจ ืืช ืžืคืชื— ื”โ€‘API ืฉืœืš, ื™ืฉืœื— ืื•ืชื• ืœื”ืชืงื ืช ื”โ€‘WordPress ืฉืœืš ื•ื™ืคืขื™ืœ ืืช ื”โ€‘SSO. ืื™ื—ื“ื ื• ืืช ื–ื” ืœืœื—ื™ืฆื” ื‘ื•ื“ื“ืช ื‘ืฉื‘ื™ืœืš.

ืฉื™ืžื• ืœื‘ ืฉืื ืืชื” ืžืชืงื™ืŸ ืืช ื”ืชื•ืกืฃ ืœืจืืฉื•ื ื” ืชืฆื˜ืจืš ืœื”ืฉืœื™ื ืืช ืชื”ืœื™ืš ื”ื”ื’ื“ืจื” ืœืคื ื™ ืฉืชืจืื” ืืช ื“ืฃ ื”ื ื™ื”ื•ืœ ืขื ืœื—ืฆืŸ SSO Settings.

WordPress SSO - Moderators

ืฉื™ืžื• ืœื‘ ืฉื›ืจื’ืข ื›ื“ื™ ืฉื”ืชื•ื•ื™ืช "Moderator" ืชื•ืคื™ืข ืœื™ื“ ื”ืžื•ื“ืจื˜ื•ืจื™ื ืฉืœืš ื›ืฉื”ื ืžื’ื™ื‘ื™ื ืขื ืชื•ืกืฃ ื”โ€‘FastComments ืœโ€‘WordPress, ื”ื ื—ื™ื™ื‘ื™ื ื’ื ืœื”ื™ื•ืช ื ื•ืกืคื™ื ื›โ€‘Moderator ื‘ืœื•ื— ื”ื‘ืงืจื” ืฉืœ FastComments, ื•ืœื”ื™ื•ืช ืขื ืื™ืžื™ื™ืœ ืžืื•ืžืช.

ืื™ื ื˜ื’ืจืฆื™ื•ืช ืžื•ืชืืžื•ืช ืื™ืฉื™ืช

ื‘ืื™ื ื˜ื’ืจืฆื™ื•ืช ืžื•ืชืืžื•ืช ืื™ืฉื™ืช, ื™ืฉ ืฉืชื™ ืืคืฉืจื•ื™ื•ืช.

ืืคืฉืจื•ืช ืื—ืช - Secure SSO

ืขื Secure SSO, ืœโ€‘FastComments ื‘ืจื•ืจ ืฉื”ืžืฉืชืžืฉ ืฉืžื’ื™ื‘, ืžืฆื‘ื™ืข ื•ืงื•ืจื ืชื’ื•ื‘ื•ืช ื”ื•ื ืžืฉืชืžืฉ ืืžื™ืชื™ ื‘ืืชืจ ืฉืœืš.

ื›ืœ ืขื•ื“ ืืชื” ื™ื•ืฆืจ ืžื˜ืขืŸ ืชืงืฃ, ืœืžืฉืชืžืฉ ืชืžื™ื“ ืชื”ื™ื” ื—ื•ื•ื™ื™ืช ืชื’ื•ื‘ื•ืช ื—ืœืงื”.

ืขื Secure SSO, ืžื˜ืขืŸ ื”โ€‘SSO ื ื•ืฆืจ ืžื”ืฆื“ ื”ืฉืจืช ื‘ืืžืฆืขื•ืช ืื™ืžื•ืช HMAC ื•ืื– ืžื•ืขื‘ืจ ืœื•ื™ื“ื’'ื˜ ืขืœ ื”โ€‘ืœืงื•ื—.

ืขื Secure SSO, ื—ืฉื‘ื•ืŸ ื”ืžืฉืชืžืฉ ื”ื•ื ืžื•ืคืจื“ ืœื—ืœื•ื˜ื™ืŸ ืžืฉืืจ ื‘ืกื™ืก ื”ืžืฉืชืžืฉื™ื ืฉืœ FastComments. ืžืฉืžืขื•ืช ื”ื“ื‘ืจ ืฉืื ื™ืฉ ืœื ื• ืฉื ื™ ืฉื•ืชืคื™ื Company A ื•โ€‘Company B, ืœื›ืœ ืื—ื“ ืžื”ื ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžืฉืชืžืฉ SSO ืขื ืฉื ื”ืžืฉืชืžืฉ "Bob".

ื“ืจื™ืฉื•ืช

  • ื™ื“ืข ื‘ืกื™ืกื™ ื‘ืคื™ืชื•ื— ืฆื“ ื”ืฉืจืช.
  • ื™ื“ืข ื‘ืกื™ืกื™ ื‘ื˜ื™ืคื•ืœ ื‘ืžืคืชื—ื•ืช API ืกื•ื“ื™ื™ื.
  • ื™ื“ืข ื‘ืกื™ืกื™ ื‘ืคื™ืชื•ื— API ืื• ื‘ื”ืฆื’ื” ื‘ืฆื“ ื”ืฉืจืช (server-side rendering).

ื™ืชืจื•ื ื•ืช

  • ืžืื•ื‘ื˜ื—.
  • ื—ื•ื•ื™ื™ืช ืชื’ื•ื‘ื•ืช ื—ืœืงื”.

ื—ืกืจื•ื ื•ืช

  • ื“ื•ืจืฉ ืคื™ืชื•ื— ืฆื“ ืฉืจืช.

ืขื“ื›ื•ืŸ ื ืชื•ื ื™ ืžืฉืชืžืฉ

ืขื Secure SSO, ื‘ื›ืœ ืคืขื ืฉืืชื” ืžืขื‘ื™ืจ ืืช ืžื˜ืขืŸ ื”ืžืฉืชืžืฉ ืฉืœ SSO, ื ืขื“ื›ืŸ ืืช ื”ืžืฉืชืžืฉ ืฉืœื”ื ืขื ื”ืžื™ื“ืข ื”ืขื“ื›ื ื™ ื‘ื™ื•ืชืจ. ืœื“ื•ื’ืžื”, ืื ืœืžืฉืชืžืฉ ื™ืฉ ืฉื ืžืฉืชืžืฉ X, ื•ืืชื” ืžืขื‘ื™ืจ Y ื‘ืžื˜ืขืŸ ื”โ€‘SSO, ืฉื ื”ืžืฉืชืžืฉ ืฉืœื”ื ื™ื”ืคื•ืš ืœึพY.

ืื ื‘ืจืฆื•ื ืš ืœื”ืกื™ืจ ืขืจื›ื™ื ื‘ื’ื™ืฉื” ื–ื• ืื– ื”ื’ื“ืจ ืื•ืชื ื›โ€‘null (ืœื undefined).

Secure SSO API

ืื ื—ื ื• ื’ื ืžืกืคืงื™ื API ืœืื™ื ื˜ืจืืงืฆื™ื” ืขื ืžืฉืชืžืฉื™ ื”โ€‘SSO. ืจืื” the docs.

ืฉื™ืžื• ืœื‘ ืฉื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘โ€‘Secure SSO, ืžืฉืชืžืฉื™ื ื ื•ืฆืจื™ื ืื•ื˜ื•ืžื˜ื™ืช ืžืื—ื•ืจื™ ื”ืงืœืขื™ื ื‘ืขืช ื˜ืขื™ื ืช ื”ื“ืฃ. ืื™ื ืš ืฆืจื™ืš ืœื™ื™ื‘ื ื‘ื›ืžื•ื™ื•ืช (bulk import) ืืช ื”ืžืฉืชืžืฉื™ื ืฉืœืš.

ืืคืฉืจื•ืช ืฉื ื™ื™ื” - Simple SSO

ื”ืืœื˜ืจื ื˜ื™ื‘ื” ืœโ€‘Secure SSO ื”ื™ื ืคืฉื•ื˜ ืœื”ืขื‘ื™ืจ ืืช ืคืจื˜ื™ ื”ืžืฉืชืžืฉ ืœื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช.

ืžืชืŸ ืื™ืžื™ื™ืœ ื‘โ€‘Simple SSO ืื™ื ื• ื—ื•ื‘ื”, ืืš ื‘ืœืขื“ื™ื• ืชื’ื•ื‘ื•ืชื™ื”ื ื™ื•ืฆื’ื• ื›โ€‘"Unverified".

ื”ืขืจื”! ื ื›ื•ืŸ ืœืชื—ื™ืœืช 2022 ืฉืžื•ืช ืžืฉืชืžืฉ ื‘โ€‘Simple SSO ืื™ื ื ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ื™ื™ื—ื•ื“ื™ื™ื ืขืœ ืคื ื™ ื›ืœ FastComments.com.

ื‘ืื•ืคืŸ ืื™ื“ื™ืืœื™, ื™ืฉ ืœื‘ื—ื•ืจ ื‘โ€‘Simple SSO ืจืง ื‘ืคื™ืชื•ื— ืขืœ ืคืœื˜ืคื•ืจืžื” ืฉืื™ื ื” ืžืกืคืงืช ื’ื™ืฉื” ืœืฆื“ ื”ืฉืจืช.

ื“ืจื™ืฉื•ืช

  • ื™ื“ืข ื‘ืกื™ืกื™ ื‘ืคื™ืชื•ื— ืฆื“ ื”ืœืงื•ื—.
  • ืฆืจื™ืš ืœื“ืขืช ืœืคื—ื•ืช ืืช ื”ืื™ืžื™ื™ืœ ืฉืœ ื”ืžืฉืชืžืฉ.

ื™ืชืจื•ื ื•ืช

  • ืคืฉื•ื˜.
  • ื›ืœ ื”ืคืขื™ืœื•ืช ืขื“ื™ื™ืŸ ืžืื•ืžืชืช.
  • ื”ืžืฉืชืžืฉ ืžืขื•ืœื ืœื ืžื–ื™ืŸ ืืช ืฉื ื”ืžืฉืชืžืฉ ืื• ื”ืื™ืžื™ื™ืœ ืฉืœื•.

ื—ืกืจื•ื ื•ืช

  • ืคื—ื•ืช ืžืื•ื‘ื˜ื— ืžโ€‘Secure SSO ืžืื—ืจ ืฉื”ืžื˜ืขืŸ ื‘ืฆื“ ื”ืœืงื•ื— ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžืขื•ืฆื‘ ื›ืš ืฉื™ื™ื—ืฉื‘ ืœื›ืœ ืžืฉืชืžืฉ.

Simple SSO API

ืžืฉืชืžืฉื™ื ื”ื ื•ืฆืจื™ื ืื•ื˜ื•ืžื˜ื™ืช ื“ืจืš ื–ืจื™ืžืช Simple SSO ืžืื•ื—ืกื ื™ื ื›ืื•ื‘ื™ื™ืงื˜ื™ื ืžืกื•ื’ SSOUser. ื ื™ืชืŸ ืœื’ืฉืช ืืœื™ื”ื ื•ืœื ื”ืœ ืื•ืชื ื“ืจืš ื”โ€‘SSOUser API. ืจืื” the docs.

ืื™ื ื˜ื’ืจืฆื™ื•ืช ืžื•ืชืืžื•ืช - ื›ื ื™ืกื” ื™ื—ื™ื“ื” ืคืฉื•ื˜ื” (SSO) Internal Link

With Simple SSO, we can provide the commenting widget with information about the user so that they don't have to enter their username or email to comment.

We can configure Simple SSO as follows:

Simple SSO
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "simpleSSO": {
8 "username": "Bob",
9 "email": "bob@example.com",
10 "avatar": "https://example.com/bob.png",
11 "websiteUrl": "https://example.com/profiles/bob",
12 "displayName": "Bob's Name",
13 "displayLabel": "VIP User",
14 "loginURL": "https://example.com/login",
15 "logoutURL": "https://example.com/logout",
16 "badgeConfig": {
17 "badgeIds": [
18 "badge-id-1",
19 "badge-id-2"
20 ],
21 "pageBadgeIds": [
22 "badge-id-3"
23 ],
24 "override": false
25 }
26 }
27}];
28</script>
29

The user will be logged in, and will create an SSO User behind the scenes. The user will have createdFromSimpleSSO set to true if fetched from the API.

Notes:

  • Email is the unique identifier for Simple SSO.
  • Providing an email with Simple SSO is not required, however by default their comments will show as "Unverified". If no email is provided, the user cannot be fully authenticated.
  • NEW Since Jan 2022: Usernames do not have to be unique across all of fastcomments.com
  • Simple SSO can automatically create and update SSO users, if an email is provided, and the user was not originally created from Secure SSO.
  • You can specify badges for the user with the badgeConfig property. The badgeIds array contains the IDs of global badges to associate with the user. The pageBadgeIds array contains badge IDs scoped to the current page (urlId) โ€” these badges are only displayed on the page where they were assigned. If override is set to true, it will replace existing displayed badges (global and page-scoped are overridden independently); if false it will add to existing badges.

ืื™ื ื˜ื’ืจืฆื™ื•ืช ืžื•ืชืืžื•ืช - ืžืขื‘ืจ ืž-Disqus SSO Internal Link

ื”ื”ื‘ื“ืœื™ื ื”ื’ื“ื•ืœื™ื ื‘ื™ื•ืชืจ ื‘ื™ืŸ Disqus ืœโ€‘FastComments Secure SSO ื”ื ืฉโ€‘Disqus ืžืฉืชืžืฉ ื‘โ€‘SHA1 ืœื”ืฆืคื ื” ื‘ืขื•ื“ ืฉืื ื• ืžืฉืชืžืฉื™ื ื‘โ€‘SHA256. ืžืฉืžืขื•ืช ื”ื“ื‘ืจ ืฉืžืขื‘ืจ ืžโ€‘Disqus ืงืœ โ€” ืฉื ื” ืืช ืืœื’ื•ืจื™ืชื ื”ื”ืืฉื” ื”ืžืฉืžืฉ ืžโ€‘SHA1 ืœโ€‘SHA256 ื•ืขื“ื›ืŸ ืืช ืฉืžื•ืช ื”ืžืืคื™ื™ื ื™ื ืฉืžื•ืขื‘ืจื™ื ืœโ€‘UI.

ืื™ื ื˜ื’ืจืฆื™ื•ืช ืžื•ืชืืžื•ืช - ืžืขื‘ืจ ืž-Commento SSO Internal Link

Commento ืžืฉืชืžืฉืช ื‘ื’ื™ืฉื” ืฉื•ื ื” ื‘ืื•ืคืŸ ื“ืจืกื˜ื™ ืœ-SSO - ื”ื ื“ื•ืจืฉื™ื ืฉื™ื”ื™ื” ืœืš ื ืงื•ื“ืช ืงืฆื” ืฉืืœื™ื” ื”ื ื™ืคื ื• ื›ื“ื™ ืœืืžืช ืืช ื”ืžืฉืชืžืฉ.

FastComments ืคื•ืขืœืช ื‘ืื•ืคืŸ ื”ืคื•ืš - ืคืฉื•ื˜ ืงื•ื“ื“ ื•ื—ืฉื‘ ื’ื™ื‘ื•ื‘ ืฉืœ ื”ืžื™ื“ืข ืฉืœ ื”ืžืฉืชืžืฉ ื‘ืืžืฆืขื•ืช ื”ืžืคืชื— ื”ืกื•ื“ื™ ืฉืœืš ื•ืฉืœื— ืื•ืชื• ื”ืœืื”.

ืงืจื™ืื•ืช ื—ื–ืจื” Internal Link

ื›ืœ ื”ืกืคืจื™ื•ืช ืขื‘ื•ืจ ื”ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช (ื›ืจื’ืข Angular, React, Vue) ืชื•ืžื›ื•ืช ื‘ืงืจื™ืื•ืช-ื—ื–ืจื”.

ืงืจื™ืื•ืช-ื”ื—ื–ืจื” ืžื•ื’ื“ืจื•ืช ื‘ืื•ื‘ื™ื™ืงื˜ ื”ืชืฆื•ืจื”, ืขื ืื•ืชื” ื—ืชื™ืžื” ืขื‘ื•ืจ ื›ืœ ืกืคืจื™ื™ื”.

ื”ืงืจื™ืื•ืช-ื—ื–ืจื” ื”ื ืชืžื›ื•ืช ื”ืŸ:

  • onInit
  • onAuthenticationChange
  • onRender
  • commentCountUpdated
  • onReplySuccess
  • onVoteSuccess
  • onImageClicked
  • onOpenProfile
  • onCommentSubmitStart
  • onCommentsRendered

ื”ื—ืชื™ืžื•ืช ื”ืžื“ื•ื™ืงื•ืช ื ื™ืชืŸ ืœืžืฆื•ื ื‘ื”ื’ื“ืจื•ืช TypeScript.

ื”ื ื” ื“ื•ื’ืžื” ืฉื‘ื” ื›ืœ ื”ืงืจื™ืื•ืช-ื—ื–ืจื” ืžื™ื•ืฉืžื•ืช:

ื“ื•ื’ืžืื•ืช ืฉืœ ืงืจื™ืื•ืช ื—ื–ืจื”
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5 window.fcConfigs = [{
6 target: '#fastcomments-widget',
7 tenantId: 'demo',
8 onInit: function () {
9 console.log('Library started to fetch comments!');
10 },
11 onAuthenticationChange: function (eventName, userObj) {
12 console.log('User authenticated!', eventName, userObj);
13 },
14 onRender: function () {
15 console.log('Render event happened!');
16 },
17 commentCountUpdated: function (newCount) {
18 console.log('New comment count:', newCount);
19 },
20 onReplySuccess: function (comment) {
21 console.log('New comment saved!', comment);
22 },
23 onVoteSuccess: function (comment, voteId, direction, status) {
24 console.log('New vote saved!', comment, voteId, direction, status);
25 },
26 onImageClicked: function (src) {
27 console.log('Image clicked!', src);
28 },
29 onOpenProfile: function (userId) {
30 console.log('User tried to open profile', userId);
31 // return true; // ื”ื—ื–ืจ true ื›ื“ื™ ืœืžื ื•ืข ืืช ื”ื”ืชื ื”ื’ื•ืช ื”ืžื•ื’ื“ืจืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ (ืคืชื™ื—ืช ืคืจื•ืคื™ืœ ืžืฉืชืžืฉ ื‘-fastcomments.com).
32 },
33 onCommentSubmitStart: function(comment, continueSubmitFn, cancelFn) {
34 console.log('Trying to submit comment', comment);
35 setTimeout(function() { // ื—ื™ืงื•ื™ ื”ืชื ื”ื’ื•ืช ืืกื™ื ื›ืจื•ื ื™ืช (ืงืจื™ืืช API ื•ื›ื•').
36 if(confirm('Should submit?')) {
37 continueSubmitFn();
38 } else {
39 cancelFn('Some optional error message');
40 }
41 }, 1000);
42 },
43 onCommentsRendered: function(comments) {
44 // comments ืžืžื•ื™ื™ืŸ ืœืคื™ ื”ืžื™ื•ืŸ ื”ื“ื™ืคื•ืœื˜ื™ ื‘ืขืžื•ื“, ืืฉืจ ืขืฉื•ื™ ืœื”ื™ื•ืช 'Most Relevant' (ืœืžืฉืœ: ืขื ื”ื›ื™ ื”ืจื‘ื” ื”ืฆื‘ืขื•ืช, ื•ื›ื•'), ืื• 'Newest First'
45 const topCommentInList = comments[0];
46 console.log('First Comment Rendered:', topCommentInList.avatarSrc, topCommentInList.commenterName, topCommentInList.commentHTML);
47 }
48 }];
49</script>
50

ื›ื•ืชืจื•ืช ื“ืคื™ื Internal Link

ื›ื•ืชืจืช ื”ื“ืฃ ื”ื ื•ื›ื—ื™ืช ืžืฉื•ื™ื›ืช ืœ-urlId ืฉืฆื•ื™ืŸ ื•ื ืฉืžืจืช ืœืฉื™ืžื•ืฉ ื‘ื›ืœื™ ื”ืžื•ื“ืจืฆื™ื”.

ื‘ื‘ืจื™ืจืช ืžื—ื“ืœ, ืขืจืš ื–ื” ื ืœืงื— ืž-document.title.

ืื ืจืฆื•ื™, ื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ื›ื•ืชืจืช ื“ืฃ ืžืฉืœืš ื‘ืื•ืคืŸ ื”ื‘ื:

ื”ื’ื“ืจืช ื›ื•ืชืจืช ื”ื“ืฃ
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "pageTitle": "Article 42"
8}];
9</script>
10

ืกืคื™ืจืช ืชื’ื•ื‘ื•ืช ื•ืกืคื™ืจืช ื›ืœ ื”ืชืฉื•ื‘ื•ืช ื”ืžืงื•ื ื ื•ืช Internal Link

ืžืกืคืจ ื”ืชื’ื•ื‘ื•ืช ื”ืžื•ืฆื’ ื‘ืจืืฉ ืจื›ื™ื‘ ื”ืชื’ื•ื‘ื•ืช ื™ื›ื•ืœ ืœื”ืฆื™ื’ ืื• ืืช ื›ืœ ื”ืชื’ื•ื‘ื•ืช "ื‘ืจืžืช-ื”ืขืœ", ื›ืœื•ืžืจ ืื•ืชืŸ ืชืฉื•ื‘ื•ืช ืฉ- ืžื’ื™ื‘ื•ืช ื™ืฉื™ืจื•ืช ืœืขืžื•ื“ ืื• ืœืžืืžืจ ืขืฆืžื•, ืื• ืฉื”ื•ื ื™ื›ื•ืœ ืœื”ื™ื•ืช ืกืคื™ืจื” ืฉืœ ื›ืœ ื”ืชื’ื•ื‘ื•ืช ื”ืžืงื•ื ื ื•ืช.

ื‘ื‘ืจื™ืจืช ืžื—ื“ืœ, ื–ื” true - ื–ื• ืกืคื™ืจื” ืฉืœ ื”ืืคืฉืจื•ืช ื”ืฉื ื™ื™ื” - ื›ืœ ื”ืชื’ื•ื‘ื•ืช. ื‘ื’ืจืกืื•ืช ื™ืฉื ื•ืช ื™ื•ืชืจ ืฉืœ ืจื›ื™ื‘ ื”ืชื’ื•ื‘ื•ืช ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื false.

ื ื™ืชืŸ ืœืฉื ื•ืช ืืช ื”ื”ืชื ื”ื’ื•ืช, ื›ืš ืฉื”ื™ื ืชื”ื™ื” ืกืคื™ืจื” ืฉืœ ื›ืœ ื”ืชื’ื•ื‘ื•ืช ื”ืžืงื•ื ื ื•ืช ืขืœ ื™ื“ื™ ืงื‘ื™ืขืช ื”ื“ื’ืœ countAll ืœ-true.

Counting All Comments
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "countAll": true
8}];
9</script>
10

ืื ื ืจืฆื” ืฉื”ืกืคื™ืจื” ืชืฉืงืฃ ืจืง ืืช ื”ืชื’ื•ื‘ื•ืช ื‘ืจืžืช-ื”ืขืœ, ื ื’ื“ื™ืจ ืืช ื”ื“ื’ืœ ืœ-false.

Counting Top Level Comments
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "countAll": false
8}];
9</script>
10

ื›ืจื’ืข ืœื ื ื™ืชืŸ ืœื”ืชืื™ื ื–ืืช ืœืœื ืฉื™ื ื•ื™ื™ ืงื•ื“.

ืื–ื›ื•ืจ ืžื–ื”ื™ ืงื‘ื•ืฆื•ืช Internal Link

ืจืฉื™ืžื” ืฉืœ ืžื–ื”ื™ื ืœืฉื™ืžื•ืฉ ื‘ื”ืฉืœืžื” ื”ืื•ื˜ื•ืžื˜ื™ืช ืฉืœ @mentions. ืฉื™ืžื•ืฉื™ ื›ืืฉืจ ื‘ืจืฆื•ื ืš ืœืžื ื•ืข ืชื™ื•ื’ ืžืฉืชืžืฉื™ื ืฉืื™ืŸ ืœื”ื ืงื‘ื•ืฆื•ืช ื—ื•ืคืคื•ืช.

ื›ืืฉืจ ืžื•ื’ื“ืจ, ืจืง ืžืฉืชืžืฉื™ื ืžืงื‘ื•ืฆื•ืช ืื—ืจื•ืช ื™ื•ืฆืขื• ื‘ื”ืฉืœืžื” ื”ืื•ื˜ื•ืžื˜ื™ืช ืœืื—ืจ ื”ืงืœื“ืช ื”ืชื• @.

Limit Groups for Mentions
Copy CopyRun External Link
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo",
7 "mentionGroupIds": [
8 "yxZAhjzda",
9 "QT19nXbqB"
10 ]
11}];
12</script>
13