Do I need to do something special to get a facebook app id? What is that?
Do I need to do something special to get a facebook app id? What is that?
Hi Nadia.
Sorry about the late reply, summer holiday and all that.
Facebook Apps can be set up from this page:
http://developers.facebook.com/setup/
Cheers
Endre
I've just added this mod to one of my client's sites, but am getting an error showing up below the comment box:
The error message links over to an "Object Debugger" FB tools page with the following error:Warning: http://pamwardenart.com/index.php?ma...products_id=93 is unreachable.
I have the correct app ID in there. Can anyone help with this?App ID does not match domain
The app ID specified within the "fb:app_id" meta tag is not allowed on this domain. You must setup the Connect Base Domains for your app to be a prefix of http://pamwardenart.com/index.php?ma...roducts_id=120.
i'm unable to get this working properly as a review/product page
I am using SEO URI and when I add the item to shopping cart and come back to the page it gives me ?products_id=(id:zenid) at the end of the url which makes facebook think it is a different page.
does anyone here know a fix?
I'm sure someone has experienced a bit of a problem when it comes to moderating comments made on their site.
The "new" code from Facebook (not sure when this happened, haven't had time to follow this up as much as I should have unfortunately) is placed in one more file this time: /your_template/common/tpl_main_page.php.
Find:
<?php require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
</div>
</div>
Paste right after:
<!--bof Facebook comments-->
<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_GB/all.js#xfbml=1&appId=YOUR_APP_ID";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!--eof Facebook comments-->
Finally in the /your_template/templates/tpl_product_info_display.php, paste where you want the comment box to show:
<!--bof Facebook comments-->
<div class="fb-comments" data-href="<?php
echo zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath='. $_GET['cPath'].' &products_id='. $_GET['products_id']);
?>" data-num-posts="3" data-width="600"></div>
<!--eof Facebook comments-->th="600"></div>
To moderate the comments, go to: http://developers.facebook.com/tools/comments/