summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorJames Fleeting <twofivethreetwo@gmail.com>2012-01-30 20:17:27 -0600
committerJames Fleeting <twofivethreetwo@gmail.com>2012-01-30 20:17:27 -0600
commit683d1bec4d27dcf8cfc62babb88cdcbabf2cb957 (patch)
tree34733c817ed24195f5db0bee842249745735512c /_includes
parente99e752a27f03c4a980e3f7e8a02f395573b9931 (diff)
Adding Facebook Comments
Diffstat (limited to '_includes')
-rw-r--r--_includes/JB/comments-providers/facebook10
1 files changed, 9 insertions, 1 deletions
diff --git a/_includes/JB/comments-providers/facebook b/_includes/JB/comments-providers/facebook
index f8c7d21..6b3e5e0 100644
--- a/_includes/JB/comments-providers/facebook
+++ b/_includes/JB/comments-providers/facebook
@@ -1 +1,9 @@
-<h3>Facebook comments TODO!</h3> \ No newline at end of file
+<div id="fb-root"></div>
+<script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={{ site.JB.comments.facebook.appid }}";
+ fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));</script>
+<div class="fb-comments" data-href="{{ site.production_url }}" data-num-posts="{{ site.JB.comments.facebook.num_posts }}" data-width="{{ site.JB.comments.facebook.width }}" data-colorscheme="{{ site.JB.comments.facebook.colorscheme }}"></div> \ No newline at end of file