FastComments.com

ื”ืชืงื ื”

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

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

ืืชื” ื™ื›ื•ืœ ืœืžืฆื•ื ืืช ืชื•ืกืฃ ื”-WordPress ืฉืœื ื• ื›ืืŸ.

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

ืชื•ืกืฃ ื–ื” ืชื•ืžืš ื‘ืชื’ื•ื‘ื•ืช ื‘ื–ืžืŸ ืืžืช, SSO ื•ื”ืชืงื ื” ืœืœื ืงื•ื“.

ื•ื ื™ืœื” JS / ืงื•ื“ HTML Internal Link

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

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

ืงื˜ืข ืงื•ื“ ืคืฉื•ื˜
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

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

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

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

ืืชื” ื™ื›ื•ืœ ืœืžืฆื•ื ืืช ืกืคืจื™ื™ืช ื”-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 ืฉืœืš, ืœื“ื•ื’ืžื”:

ื”ื•ืกืคืช fastcomments-typescript peer dependency
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

ืฉื™ืžื•ืฉ

ื›ื“ื™ ืœื”ืชื—ื™ืœ, ืื ื• ืžืขื‘ื™ืจื™ื ืื•ื‘ื™ื™ืงื˜ ื”ื’ื“ืจื•ืช ืขื‘ื•ืจ ื”ื“ื™ื™ืจ ื”ื“ืžื•:

ืฉื™ืžื•ืฉ - ื”ื’ื“ืจื” Inline
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 ืฉืœื ื• ื‘-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 - EU
Copy Copy
1
2 <FastCommentsCommentWidget tenantId="demo" region="eu" />
3

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

ื•ื•ื™ื• Internal Link

ืืชื” ื™ื›ื•ืœ ืœืžืฆื•ื ืืช ืกืคืจื™ื™ืช ื”-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 ื“ื•ืจืฉ ืžื”ืžืฉืชืžืฉ ืœื”ืฉืื™ืจ ื“ื•ื"ืœ ื‘ืขืช ืชื’ื•ื‘ื”. ื ื™ืชืŸ ืœื”ืฉื‘ื™ืช ื–ืืช.

ื ื•ืฉืŸ ื•ื’ื•ื’ืœ ืกื™ื™ื˜ืก Internal Link

ืจื•ืฆื” ืœื”ื•ืกื™ืฃ ืชื’ื•ื‘ื•ืช ืœื“ืคื™ ื”-Notion ืฉืœืš? ืื ื—ื ื• ื›ืืŸ ื‘ืฉื‘ื™ืœืš.

Notion

ืœื”ื•ืกืคืช ืชื’ื•ื‘ื•ืช ืœืžืกืžื›ื™ Notion, ืฆืคื” ื‘ืกืจื˜ื•ืŸ ื”ื”ืกื‘ืจ ื›ืืŸ.

Google Sites

Google Sites ื ืชืžืš ื’ื ื›ืŸ, ื•ื”ืชื”ืœื™ืš ื“ื•ืžื”.