Facebook comments plugin
4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 18, 2011 (RSS)
I want to add this plugin from Facebook:
http://developers.facebook.com/docs/reference/plugins/comments/
But because my pages are dynamic what url need I put in to the "URL to comment on" box?
http://developers.facebook.com/docs/reference/plugins/comments/
But because my pages are dynamic what url need I put in to the "URL to comment on" box?
Re: [videopixel] Facebook comments plugin
Ok found the problem...
FB adds a "fb_comment_id" behind your url so it's not possible to link back from facebook's newsfeed...
FB adds a "fb_comment_id" behind your url so it's not possible to link back from facebook's newsfeed...
Re: [videopixel] Facebook comments plugin
By MickC - September 17, 2011
Hi Videopixel,
I just set up the Facebook Like/Recommend plugin at the bottom of each dynamic listing, and just used PHP code to specify the URL - works perfectly for me!
here is the code that does the job:
This makes the url specify the exact page to go to.
I know this is for the Like/Share plugin, but i looked at the code for the Comments plugin and it looks very similar
See how that goes :)
I just set up the Facebook Like/Recommend plugin at the bottom of each dynamic listing, and just used PHP code to specify the URL - works perfectly for me!
here is the code that does the job:
<div class="fb-like" data-href="http://used.xxxxxxx.com.au/listing/extListingDetails.php?<?php echo $listingsRecord['num'] ?>" data-send="true" data-width="500" data-show-faces="true" data-action="recommend" data-font="verdana"></div>
This makes the url specify the exact page to go to.
I know this is for the Like/Share plugin, but i looked at the code for the Comments plugin and it looks very similar
See how that goes :)
Re: [MickC] Facebook comments plugin
Thanks MickC
But I found another workaround for my problem:
http://www.interactivetools.com/iforum/gforum.cgi?post=88072;search_string=Facebook%20comments;t=search_engine#88072
...and it's working:
example@bottom
http://www.dirkbeckers.be/blogdetail.php?Let-s-have-some-fun-with-the-moon-59
But I found another workaround for my problem:
http://www.interactivetools.com/iforum/gforum.cgi?post=88072;search_string=Facebook%20comments;t=search_engine#88072
...and it's working:
example@bottom
http://www.dirkbeckers.be/blogdetail.php?Let-s-have-some-fun-with-the-moon-59