Help

     Forum      Videos      Knowledge Base      Hire Us      Hosting Providers     Sandbox >

 

Forum

Need a response from us? Become a VIP.
Need help with your site right now? Hire us.

Linking Facebook Comments to Livesite

Posted by Debationary on May 16, 2012

First off- let me say that I'm rather new to HTML and building webpages. I've been searching for the answer to this question for about 3 months now, and my face is starting to bleed from slamming it on my keyboard so much; so I have decided to become a VIP so I can at least get an answer from the developers. I've seen a few answers(php-solutions) on Stackoverflow, but after trying them, it seems they don't apply to livesite, or I'm just implementing incorrectly. I believe my pages are Dynamic denoted by the "...?r="::: Also, I'm aware of the *Dynamic page* field you can use, but I don't have any other option in that besides "test"- and that doesn't do much good.

I'm attempting to put the Facebook Comment plugin onto my forum-based website. I'm having trouble when it comes to separating the posts to their respected pages. All the comments that are made display under each page instead of the thread they're posted on. Below is the code I'm using for the plugin:

<div class="fb-comments" data-href="http://www.debationary.com/((whatthehellgoeshere?))" data-num-posts="10" data-width="600"></div>

Again, I'm sorry if my ignorance overlooked the solution on the forums elsewhere. I'd greatly appreciate it if someone could point me in the correct direction. I'll be online for awhile-- so if you need any additional information, let me know.


Back   
 
1 Comment
Added by Camelback Web Architects
May 16, 2012

liveSite has comment features, so you might want to consider using them instead of Facebook comments. If you still want to use Facebook comments, then you will need to use a PHP or Dynamic region. You will need PHP experience to do that. You can find info about enabling them at the link below.

http://www.camelback.net/pages/website-builder-kbase-livesite-software-item?r=A4EEP3MJOO

You can use PHP in order to prepare a data-href address for Facebook that contains the correct reference code. Something like the code below might work.

print '<div class="fb-comments" data-href="http://www.debationary.com/pages/forum-thread-view?r=' . htmlspecialchars($_GET['r']) . '" data-num-posts="10" data-width="600"></div>';
Add Comment:
Please login or register to add a comment or get notified when a comment is added.