Socket
Socket
Sign inDemoInstall

hexo-tag-fb-comments

Package Overview
Dependencies
254
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hexo-tag-fb-comments

Facebook comments plugin for Hexo!


Version published
Weekly downloads
10
increased by66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

hexo-tag-fb-comments

CircleCI

正體中文(zh-TW)| English (en-US)

Facebook comments plugin for Hexo!

Requirement

  • Hexo 5 or above

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  # Enable FB comments plugin or not.
  to: post  # post, page or default (everywhere), etc.
  app_id:   # FB app id
  lang: zh_TW  # language
  num_posts: 5  # The number of comments to show by default.
  order_by: reverse-time  # The order to use when displaying comments. Can be "reverse_time" or "time".
  colorscheme: light  # The color scheme used by the comments plugin. Can be "light" or "dark".
  width: 100%  # The width of the comments plugin on the webpage.

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

Keywords

FAQs

Last updated on 06 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc