Documentation
Everything you need to add talknique comments to your website.
- Quick start
- Options
- Examples
- Allowed domains
- Moderation
- Sign-in providers
- Single-page apps
- Troubleshooting
Quick start
- Create an account and add a site.
- Copy the snippet from your site's page in the dashboard (your real key is already filled in).
- Paste it into your page's HTML where the comments should appear.
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" async></script>
The dashboard shows Installed as soon as a page with the snippet is opened. Use Try it on the site page to see the widget without touching your own site.
Options
Set these as data-* attributes on the script tag.
| Attribute | Required | Meaning |
|---|---|---|
data-site | yes | Your site's public key. |
data-page | no | Identifies the comment thread. Defaults to the page path (location.pathname), so /a and /a?x=1 share one thread. Set it to share one thread across URLs. |
data-href | no | URL of the item this thread belongs to (Cosmos-Farm style), e.g. https://shop.example.com/goods.php?n=123. The thread is identified by its path and query string, so every item gets its own comments; http/https/www variants share one thread. Print the real value from your server-side template. |
data-query | no | Without data-href, the thread key is the page path only. all adds the whole query string; wr_id,bo_table adds only those parameters. |
data-theme | no | light or dark. Default: the site's setting (usually follows the visitor). |
data-heading | no | off hides the widget's own "Comments" title (useful when your page already has one); only the comment count remains. |
data-width | no | A CSS length such as 95% or 720px. Default: a centred column up to 780px. The widget never exceeds its container. |
data-align | no | left, center (default) or right — where a narrower-than-container widget sits. |
data-accent | no | Brand colour as hex, e.g. #e8590c: buttons and links. Text on it switches between black/white automatically. |
data-font-size | no | Base text size in px, 12–22. Default 15. |
data-radius | no | Corner radius in px, 0–24. Default 10. |
data-lang | no | ko or en. Default: the site's language setting, else the visitor's browser language. |
Tip: the Embed builder on each site's dashboard page creates these attributes for you, with a live preview.
Examples
Copy a snippet and replace YOUR_SITE_KEY with your key. Options can be combined freely.
Separate comments per article/product
Your page URL differs only by query string (board.php?wr_id=402, goods.php?n=7). Without this, all of them would share one thread. Let your server fill in the value:
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" data-href="https://www.example.com/goods.php?n={goods_id}" async></script>
Or simply keep the current page’s query: data-query="all" (or data-query="bo_table,wr_id" to ignore tracking parameters).
Full width (95%)
Make the comments fill most of a wide page instead of the default 780px column.
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" data-width="95%" async></script>
Fixed width, left-aligned
A 640px column that hugs the left edge of its container.
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" data-width="640px" data-align="left" async></script>
Match your brand
Orange buttons and links, slightly rounder corners and larger text.
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" data-accent="#e8590c" data-radius="16" data-font-size="17" async></script>
Dark page, own heading
Your page already has a "Comments" title: hide ours and force the dark theme.
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" data-theme="dark" data-heading="off" async></script>
One thread for several URLs
Give the same thread key to every URL that should share comments.
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" data-page="guestbook" async></script>
Everything together
A realistic combination for a wide Korean blog.
<div id="talknique-thread"></div>
<script src="https://talknique.hanmesoft.com/embed.js" data-site="YOUR_SITE_KEY" data-width="95%" data-accent="#1c7ed6" data-font-size="16" data-lang="ko" data-heading="off" async></script>
Values that are not valid (e.g. data-width="wide") are ignored and the default is used. Sizes: %, px, vw, em, rem. Changing an attribute takes effect on the next page load.
Allowed domains
In Domains list every address your pages are served from, one per line, including the scheme: https://example.com. Each must match exactly — https://www.example.com is a different origin. The widget will only appear on, and accept comments from, those addresses. Korean domain names are supported.
If you leave the list empty the widget works on any website that has your snippet; we recommend setting it before going live.
Moderation
- Auto-approve — comments appear immediately.
- Hold all — every comment waits for your approval.
- Hold links — only comments containing links wait.
Comments containing words from the built-in Korean/English list (or your own list) are always held. Held comments are visible only to you, in Moderation, where you can approve, mark as spam, delete or ban in bulk.
Sign-in providers
Visitors can sign in with Kakao, Naver or Google (and Facebook when enabled), or comment as a guest with just a name (you can switch guests off). Choose which providers to offer under Sign-in in your site settings.
Single-page apps
Add the snippet once per route that should show comments and give each a distinct data-page. When navigating client-side, remove the old #talknique-thread content and re-insert the script for the new page.
Troubleshooting
| Symptom | Likely cause and fix |
|---|---|
| Empty box or a broken-page icon | The page's address is not in Allowed domains (check http vs https and www), or the snippet has the wrong site key. |
| "This domain is not allowed" | Same as above — add the exact origin shown in your browser's address bar. |
| Nothing appears at all | Your site's Content-Security-Policy may block frames from https://talknique.hanmesoft.com. Allow it in frame-src/script-src. |
| A comment doesn't show up | It may be held for approval — check Moderation → Pending. |
| Dashboard says "Not detected yet" | Open a page that contains the snippet in a browser (an ad-blocker can interfere). The status updates within minutes. |
| Social sign-in fails | Make sure pop-ups are allowed for your site and that third-party storage isn't fully blocked. |
Your data
Site owners can delete a site or their whole account from the dashboard; commenters can delete their data from the widget. See the Privacy Policy and Terms.