Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    docpad-plugin-facebookcommentspublic

    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!

    Arugments 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

    Keywords

    none

    install

    npm i docpad-plugin-facebookcomments

    Downloadsweekly downloads

    5

    version

    2.0.4

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar