正體中文(zh-TW)| English (en-US)
Facebook comments plugin for Hexo!
Requirement
Usage
Installation
npm:
npm i hexo-tag-fb-comments
yarn:
yarn add hexo-tag-fb-comments
Seting
config
Add the following config into your _config.yml
which at project root:
fb_comments:
enabled: true
Recommend additional item app_id
, that you can manage comments in FB app. Here is complate config item:
fb_comments:
enabled: true
to: post
app_id:
lang: zh_TW
num_posts: 5
order_by: reverse-time
colorscheme: light
width: 100%
See more on https://developers.facebook.com/docs/plugins/comments/
Tag
Put tag at where you wnat to embed the plugin:
{% fb_comments %}
Feature
- No need to edit theme files.
- You can change position of comments plugin by moving tag easily.
LICENSE
MIT License