GetSimple Support Forum
Facebook Comments in Blog plugin - Printable Version

+- GetSimple Support Forum (
+-- Forum: GetSimple (
+--- Forum: Plugins (
+--- Thread: Facebook Comments in Blog plugin (/showthread.php?tid=3656)

Facebook Comments in Blog plugin - nice10150 - 2012-10-06

I was trying to get a little script running in my Blog plugin but I not seem to get it working.....
<script language="javascript" type="text/javascript">


document.write('<div class="fb-comments" data-href="<?php get_page_url(); ?>" num_posts="10" width="800"></div>');



The problem is in the get_page_url, I have no idea how that works, before I used another CMS and there the code was just {article_url}....

Facebook Comments in Blog plugin - mdgnys - 2012-10-19

Just to make sure, do you have all the proper "fb-root" information from facebook in your document?
It cannot be in the head (must be in the body) and cannot be set as "visibility:hidden;" or "display:none;". Dont worry, it will not show anything.
You have that code right, but there is much more that can go sour.

Both these links have very useful information