FastComments.com

Add Comments To a Website

ื”ืชืงื ื”

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

ื•ื•ืจื“ืคืจืก Internal Link

ื›ื“ื™ ืœื”ื•ืกื™ืฃ ืชื’ื•ื‘ื•ืช ืœืืชืจ ื”-WordPress ืฉืœืš, ืชื•ื›ืœ ืœืžืฆื•ื ืืช ืชื•ืกืฃ ื”-WordPress ืฉืœื ื• ื›ืืŸ.

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

ื”ืชื•ืกืฃ ืชื•ืžืš ื‘ื”ื•ืกืคืช ืชื’ื•ื‘ื•ืช ื‘ื–ืžืŸ ืืžืช, SSO ื•ื”ืชืงื ื” ืœืœื ืงื•ื“. ืคืฉื•ื˜ ืขืงื•ื‘ ืื—ืจ ืžื“ืจื™ืš ื”ื”ืชืงื ื” ื‘ื“ืฃ ื”ื ื™ื”ื•ืœ ืœืื—ืจ ื”ืชืงื ืช ื”ืชื•ืกืฃ. ื”ื•ื ื™ื ื—ื” ืื•ืชืš ื‘ืชื”ืœื™ืš ื—ื™ื‘ื•ืจ ื”ืชืงื ืช ื”-WordPress ืฉืœืš ืœื—ืฉื‘ื•ืŸ ืฉืœืš.

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

ื•ื ื™ืœื” JS / ืงื˜ืข HTML Internal Link

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

ืคืฉื•ื˜ ื”ื•ืกืฃ ืืช ืงื˜ืข ื”ืงื•ื“ ื”ื‘ื ืœื›ืœ ื“ืฃ ื›ื“ื™ ืœื”ื•ืกื™ืฃ ืชื’ื•ื‘ื•ืช ืœืืชืจ ืฉืœืš:

Simple Code Snippet
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}];
8</script>
9

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

ืœืืคืœื™ืงืฆื™ื•ืช ืจื‘ื•ืช ื™ืฉ ืืคืฉืจื•ืช "HTML Embed Code". ื‘ื—ืจ ืืช ื”ืืคืฉืจื•ืช ื•ื”ื“ื‘ืง ืืช ืงื˜ืข ื”ืงื•ื“ ืœืขื™ืœ.

ืื™ืŸ ืฆื•ืจืš ื‘ื—ืฉื‘ื•ืŸ ื›ื“ื™ ืœื ืกื•ืช! ื™ื™ืชื›ืŸ ืฉืชืจืื” "tenantId: demo" ื‘ืงื˜ืข ื”ืงื•ื“ ืฉืœืžืขืœื” ืื ืื™ื ืš ืžื—ื•ื‘ืจ. ื›ืš ื”ื•ื ื™ืฉืชืžืฉ ื‘ื—ืฉื‘ื•ืŸ ื”ื“ืžื•.

ื ื™ืชืŸ ืœืžืฆื•ื ืชื™ืขื•ื“ ืขืœ ืชืฆื•ืจืช ื”ื•ื•ื™ื“ื’'ื˜ ื›ืืŸ.

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

ืื ื’ื•ืœืจ Internal Link

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

ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช ืฉืœ FastComments ืœ-Angular ืชื•ืžืš ื‘ื›ืœ ืื•ืชืŸ ื”ืชื›ื•ื ื•ืช ืฉืœ ื”-VanillaJS โ€” ืชื’ื•ื‘ื•ืช ื‘ื–ืžืŸ ืืžืช, sso, ื•ืขื•ื“.

ืชื–ื“ืงืงื• ืœ-fastcomments-typescript, ืฉื”ื™ื peer dependency. ืื ื ื•ื“ืื• ืฉื”ื™ื ื›ืœื•ืœื” ื‘ืงื•ืžืคื™ืœืฆื™ื™ืช TypeScript ืฉืœื›ื. ื‘ืขืชื™ื“, ื”-peer dependency ื”ื–ื” ื™ืขื‘ื•ืจ ืœ-@types/fastcomments ืžื” ืฉื™ืคืฉื˜ ืืช ื”ื”ืชืงื ื” ื”ื–ื•.

FastComments Angular ื“ืจืš NPM
Copy Copy
1
2 npm install fastcomments-typescript --save
3 npm install ngx-fastcomments --save
4

ื™ืฉ ืœื”ื•ืกื™ืฃ ืืช ื”-peer dependency ื‘ืงื•ื‘ืฅ tsconfig.json ืฉืœื›ื, ืœื“ื•ื’ืžื”:

ื”ื•ืกืคืช peer dependency ืฉืœ fastcomments-typescript
Copy Copy
1
2"include": [
3 "src/**/*.ts",
4 "node_modules/fastcomments-typescript/src/index.ts"
5],
6

ืœืื—ืจ ืžื›ืŸ, ื”ื•ืกื™ืคื• ืืช FastCommentsModule ืœืืคืœื™ืงืฆื™ื” ืฉืœื›ื:

ื”ื•ืกืคืช ื”ืžื•ื“ื•ืœ ืœืืคืœื™ืงืฆื™ื” ืฉืœื›ื
Copy Copy
1
2import { BrowserModule } from '@angular/platform-browser';
3import { NgModule } from '@angular/core';
4
5import { AppComponent } from './app.component';
6import { FastCommentsModule } from 'ngx-fastcomments';
7
8@NgModule({
9 declarations: [
10 AppComponent
11 ],
12 imports: [
13 BrowserModule,
14 FastCommentsModule
15 ],
16 providers: [],
17 bootstrap: [AppComponent]
18})
19export class AppModule { }
20

ืฉื™ืžื•ืฉ

ื›ื“ื™ ืœื”ืชื—ื™ืœ, ื ืขื‘ื™ืจ ืื•ื‘ื™ื™ืงื˜ config ืขื‘ื•ืจ ื”-tenant demo:

ืฉื™ืžื•ืฉ - ืงื•ื ืคื™ื’ื•ืจืฆื™ื” ืžื•ื˜ืžืขืช
Copy Copy
1
2<lib-fastcomments [config]="{ tenantId: 'demo' }"></lib-fastcomments>
3

ืžืื—ืจ ืฉื”ืงื•ื ืคื™ื’ื•ืจืฆื™ื” ืขืœื•ืœื” ืœื”ื™ื•ืช ืžื•ืจื›ื‘ืช, ื ื•ื›ืœ ืœื”ืขื‘ื™ืจ ื”ืคื ื™ื” ืœืื•ื‘ื™ื™ืงื˜:

ืฉื™ืžื•ืฉ - ื”ืขื‘ืจืช ืื•ื‘ื™ื™ืงื˜ ืœืงื•ื ืคื™ื’ื•ืจืฆื™ื”
Copy Copy
1
2<lib-fastcomments [config]="fastcommentsConfig"></lib-fastcomments>
3
ืฉื™ืžื•ืฉ - ืื™ืจื•ืคื” (EU)
Copy Copy
1
2<lib-fastcomments [config]="{ tenantId: 'demo', region: 'eu' }"></lib-fastcomments>
3

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

ื ื™ืชืŸ ืœืžืฆื•ื ืืช ื”ืงื•ื ืคื™ื’ื•ืจืฆื™ื” ืฉื”ืงื•ืžืคื•ื ื ื˜ื” ืฉืœ Angular ืชื•ืžื›ืช ื‘ื” ื›ืืŸ.


ืจื™ืืงื˜ Internal Link

ืœื”ื•ืกืคืช ืชื’ื•ื‘ื•ืช ืœืืชืจ ืฉื ื‘ื ื” ื‘ึพReact, ื ื™ืชืŸ ืœืžืฆื•ื ืืช ืกืคืจื™ื™ืช ื”ึพReact ืฉืœื ื• ื‘ึพNPM ื›ืืŸ.

ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช ืฉืœ FastComments ืœึพReact ืชื•ืžืš ื‘ื›ืœ ืื•ืชืŸ ืชื›ื•ื ื•ืช ื›ืžื• ื”โ€‘VanillaJS โ€” ืชื’ื•ื‘ื•ืช ื‘ื–ืžืŸ ืืžืช, sso, ื•ื›ื“ื•ืžื”.

FastComments React ื“ืจืš NPM
Copy Copy
1
2npm install --save fastcomments-react
3
FastComments React ื“ืจืš Yarn
Copy Copy
1
2yarn add fastcomments-react
3
ื“ื•ื’ืžื” ื‘ึพReact
Copy Copy
1
2import React, { Component } from 'react'
3
4import {FastCommentsCommentWidget} from 'fastcomments-react'
5
6class Example extends Component {
7 render() {
8 return <FastCommentsCommentWidget tenantId="demo" />
9 }
10}
11

ืื ืืชื ื‘ืื™ื—ื•ื“ ื”ืื™ืจื•ืคื™, ืชืจืฆื• ืœื”ื’ื“ื™ืจ ืืช ื”ืคืจืžื˜ืจ region ื›ืš:

ื“ื•ื’ืžื” ื‘ึพReact - ื”ืื™ื—ื•ื“ ื”ืื™ืจื•ืคื™
Copy Copy
1
2 <FastCommentsCommentWidget tenantId="demo" region="eu" />
3

ื ื™ืชืŸ ืœืžืฆื•ื ืืช ื”ืชืฆื•ืจื” ืฉื”ืจื›ื™ื‘ ืฉืœ React ืชื•ืžืš ื‘ื” ื›ืืŸ.

ื•ื™ื• Internal Link

ื›ื“ื™ ืœื”ื•ืกื™ืฃ ืชื’ื•ื‘ื•ืช ืœืืชืจ ืฉื‘ื ื™ืช ื‘ืืžืฆืขื•ืช Vue, ื ื™ืชืŸ ืœืžืฆื•ื ืืช ืกืคืจื™ื™ืช Vue ืฉืœื ื• ื‘โ€‘NPM ื›ืืŸ.

ื‘ื ื•ืกืฃ, ืกืคืจื™ื™ืช vue-next ื ืžืฆืืช ื‘โ€‘NPM ื›ืืŸ

ืงื•ื“ ื”ืžืงื•ืจ ื–ืžื™ืŸ ื‘โ€‘GitHub.

ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช ืฉืœ FastComments ืœโ€‘Vue ืชื•ืžืš ื‘ื›ืœ ืื•ืชืŸ ื”ืชื›ื•ื ื•ืช ื›ืžื• ืฉืœ ื”โ€‘VanillaJS โ€” ืชื’ื•ื‘ื•ืช ื‘ื–ืžืŸ ืืžืช, SSO, ื•ื›ืŸ ื”ืœืื”.

ื”ื”ื•ืจืื•ืช ื”ื‘ืื•ืช ืžื™ื•ืขื“ื•ืช ืœโ€‘Vue 3 ืžื›ื™ื•ื•ืŸ ืฉื™ืฆืื” ืžื–ื” ื–ืžืŸ, ืขื ื–ืืช FastComments ืชื•ืžื›ืช ื’ื ื‘โ€‘Vue 2 ื‘ืืžืฆืขื•ืช ื”ืกืคืจื™ื™ื” fastcomments-vue.

FastComments Vue ื‘ืืžืฆืขื•ืช NPM
Copy Copy
1
2npm install --save fastcomments-vue-next
3
FastComments Vue ื‘ืืžืฆืขื•ืช Yarn
Copy Copy
1
2yarn add fastcomments-vue-next
3
ื“ื•ื’ืžื” ืœโ€‘Vue
Copy Copy
1
2<template>
3 <img alt="Vue logo" src="./assets/logo.png">
4 <fast-comments v-bind:config="{tenantId: 'demo'}"/>
5</template>
6
7<script>
8import {FastComments} from 'fastcomments-vue-next';
9
10export default {
11 name: 'App',
12 components: {
13 FastComments
14 }
15}
16</script>
17

ืื ืืชื ื‘ืื™ื—ื•ื“ ื”ืื™ืจื•ืคื™, ืจืฆื•ื™ ืœื”ื’ื“ื™ืจ ืืช region ื›โ€‘EU:

FastComments Vue - ืื–ื•ืจ EU
Copy Copy
1
2<fast-comments v-bind:config="{tenantId: 'demo', region: 'eu'}"/>
3

ื”ืกืคืจื™ื•ืช fastcomments-vue ื•โ€‘fastcomments-vue-next ืชื•ืžื›ื•ืช ื‘ืื•ืชื” ืชืฆื•ืจื” ื›ืžื• ื•ื•ื™ื“ื’'ื˜ ื”ืชื’ื•ื‘ื•ืช ืฉืœ VanillaJS.

ื ื™ืชืŸ ืœืžืฆื•ื ืืช ื”ืชืฆื•ืจื” ืฉื”ืงื•ืžืคื•ื ื ื˜ื” ืฉืœ Vue ืชื•ืžื›ืช ื‘ื” ื›ืืŸ.

ื˜ื™ื™ืคืกืงืจื™ืคื˜ Internal Link

ื”ื’ื“ืจื•ืช TypeScript ืขื‘ื•ืจ FastComments ื ื™ืชืŸ ืœืžืฆื•ื ื‘-NPM ื›ืืŸ.

ืืชื” ื™ื›ื•ืœ ืœืžืฆื•ื ืื•ืชืŸ ื‘-GitHub ื›ืืŸ.

ืžื•ืคืขื™ื ืžืจื•ื‘ื™ื ื‘ืื•ืชื• ืขืžื•ื“ Internal Link

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

ืžืงืจื™ ืฉื™ืžื•ืฉ ื ืคื•ืฆื™ื Internal Link

ื”ืฆื’ืช ืชื’ื•ื‘ื•ืช ื‘ื–ืžืŸ ืืžืช ืžื™ื“

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

ืืคืฉืจ ืชื’ื•ื‘ื•ืช ืื ื•ื ื™ืžื™ื•ืช

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