Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-fbcomments

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-fbcomments

A plugin for Hexo that shows Facebook comments on your posts

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by71.43%
Maintainers
1
Weekly downloads
 
Created
Source

hexo-fbcomments

A simple way to add Facebook comments support to your Hexo posts.

Usage

  1. In your Hexo website folder type npm install hexo-fbcomments
  2. Put the following code inside your _config.yml and set the the appId to the one for your site you've created on Facebook for developers.
# Facebook comments - https://github.com/RichardJECooke/hexo-fbcomments/
fbcomments:
  appId: 0 # <---- TODO
  colorscheme: dark # (optional) light/dark
  enabled: true # (optional) true/false
  lang: en_US # (optional)
  order_by: time  # (optional) time/reverse_time/social
  numPosts: 10 # (optional) defaults to 5
  1. Add <%- fbcommentshead() %> in your theme's post header (before the body tag) and <%- fbcomments(page.permalink) %> at the bottom of the post.
  2. To style the comments add something like this in your CSS
  section#comments
    border-color: white;
    border: 1px 1px 1px 1px;
    border-style: solid;
    background: #dde !important;

More

  • More information about the facebook comments plugin on the Official Documentation
  • Created by Sergio Moura.
  • Maintained by Richard Cooke.
  • License: MIT

Keywords

FAQs

Package last updated on 21 Sep 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc