Skip to content

mikeumus/docpad-plugin-facebookcomments

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

docpad-plugin-facebookcomments

@getFacebookComments() for Docpad !

Modeled after docpad-plugin-services. By @mikeumus of MDM

What Facebook Comments?

These Facebook Comments!: https://developers.facebook.com/docs/reference/plugins/comments/

It comes with options!

Arguments must go in this order: @getFacebookComments(1010,'dark',100, 'time')

  • width option: supports only numbers, no '30px' or '100%'
  • colorscheme options: 'light' or 'dark'
  • order_by options: 'social', 'reverse_time', 'time'. Default: 'social'
  • Not implemented, mobile: whether to show the mobile-optimized version. Default: auto-detect.

So for example the follow posted in a page.html.eco: <%- getFacebookComments(1010,'dark',100, 'time') %>

Will product something like this: Alt text

About

NEEDS UPDATE FOR NEWER VERSIONS OF DOCPAD. @getFacebookComments() for Docpad !

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published