Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Join Date
    Sep 2008
    Location
    Los Angeles, CA
    Posts
    82
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Do I need to do something special to get a facebook app id? What is that?

  2. #22
    Join Date
    Dec 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    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

  3. #23
    Join Date
    Aug 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    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:

    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 have the correct app ID in there. Can anyone help with this?

  4. #24
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    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?

  5. #25
    Join Date
    Jan 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Quote Originally Posted by lilly06 View Post
    forget my question i found it! thanx!
    Please tell me how do you fix it?

    I have get this work , but there is no option for the image, it show other image rather then the product image,. please help .

  6. #26
    Join Date
    Dec 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    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/

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. is there a facebook comment plugins?
    By gavgav in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 9 May 2012, 09:34 PM
  2. adding product specific info into <head> tags on product pages for facebook
    By donplay in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 17 Feb 2010, 01:34 PM
  3. How to add another comment like box on the checkout pages?
    By hc1501 in forum Managing Customers and Orders
    Replies: 3
    Last Post: 10 Oct 2009, 02:31 AM
  4. Add another comment like box on the checkout pages?
    By hc1501 in forum General Questions
    Replies: 0
    Last Post: 9 Oct 2009, 09:58 PM
  5. Comment Box
    By phil8340 in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2009, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg