Page 10 of 35 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 347
  1. #91
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by panservolvo View Post
    Sorry, I dont. The site is down at the moment, but I know for sure that the meta tags are working as they should but for some strange reason the buttons are not showing up. When using other codes than this one, they are showing so something is not right. I got the like-button to work like it should using iframe, so there is something strange about the other method.
    Well, it's working on other sites I have taken a look at and it's working on our site as well. Without a site, there's really not much to look at or decode.

    You can post the code you're using in your html_header and template file here

  2. #92
    Join Date
    Sep 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by BlessIsaacola View Post
    Well, it's working on other sites I have taken a look at and it's working on our site as well. Without a site, there's really not much to look at or decode.

    You can post the code you're using in your html_header and template file here
    Ok, lets give it a try :) html-header:

    HTML Code:
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml">
    HTML Code:
    <meta property="og:title" content="<?php echo META_TAG_FBTITLE; ?>"/>
    <meta property="og:site_name" content="<?php echo TITLE; ?>"/>
    <meta property="og:image" content="<?php echo META_TAG_FBIMG; ?>"/>
    <meta property="og:url" content="<?php echo $canonicalLink; ?>"/>
    <meta property="fb:admins" content="XXXX"/>
    <meta property="og:type" content="product"/>
    Replaced adminid. Not sure if its smart to post it here? Anyways I am 100% sure that its correct.

    And heres my tpl_products_info_display:

    HTML Code:
    <!-- bof Facebook Like Button -->
        <p><fb:like></fb:like></p>
    
        <div id="fb-root"></div>
        <script>
          window.fbAsyncInit = function() {
            FB.init({appId: '161270263913707', status: true, cookie: true,
                     xfbml: true});
    		FB.Event.subscribe('edge.create', function(href, widget) {
    // Do something, e.g. track the click on the "Like" button here
    });
          };
          (function() {
            var e = document.createElement('script');
            e.type = 'text/javascript';
            e.src = document.location.protocol +
              '//connect.facebook.net/en_US/all.js';
            e.async = true;
            document.getElementById('fb-root').appendChild(e);
          }());
        </script>
    <!-- eof Facebook Like Button -->

    Hope this info might be helpful!

  3. #93
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    That looks correct. Let us know when your site is back up so We can look at it.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #94
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    aozhaverm, jabbawest

    As far as changing the display, it might well not be possible. Facebook puts its own css on these things. Try putting the code into a division with a css class with a color of white and see what happens.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  5. #95
    Join Date
    Jan 2005
    Posts
    15
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Great little add-on.

    Please accept my apologies if this has been raised but I cannot see it.

    The add-on works except one thing.. The correct image is not carried over to Facebook, currently the 'Tell your friends' image is added instead. I have checked and double checked the code added to the files but I am obviously missing something, does anybody have any clues?

    Site in question is http://www.foreverbelle.co.uk/

    Thanks in advance

    Sean

  6. #96
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by seanruk View Post
    Great little add-on.

    Please accept my apologies if this has been raised but I cannot see it.

    The add-on works except one thing.. The correct image is not carried over to Facebook, currently the 'Tell your friends' image is added instead. I have checked and double checked the code added to the files but I am obviously missing something, does anybody have any clues?

    Site in question is http://www.foreverbelle.co.uk/

    Thanks in advance

    Sean
    Your installation is incomplete. I visited your website and you're missing some of the required meta tag and one of them is the image meta tag.

  7. #97
    Join Date
    Jan 2005
    Posts
    15
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Thank you for the reply, I had also noticed this and since added the meta tag but I still get an incorrect image displayed in Facebook

    Here is the meta tag info as seen in the source:

    <meta property="og:title" content="Silver Love Bling Double Ring"/>
    <meta property="og:site_name" content="Forever Belle"/>
    <meta property="og:image" content="http://www.foreverbelle.co.uk/images/love double ring.jpg"/>
    <meta property="og:url" content="http://www.foreverbelle.co.uk/silver-love-bling-double-ring-p-47.html"/>
    <meta property="fb:admins" content="174717399208075"/>
    <meta property="og:type" content="product"/>

  8. #98
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by seanruk View Post
    Thank you for the reply, I had also noticed this and since added the meta tag but I still get an incorrect image displayed in Facebook

    Here is the meta tag info as seen in the source:

    <meta property="og:title" content="Silver Love Bling Double Ring"/>
    <meta property="og:site_name" content="Forever Belle"/>
    <meta property="og:image" content="http://www.foreverbelle.co.uk/images/love double ring.jpg"/>
    <meta property="og:url" content="http://www.foreverbelle.co.uk/silver-love-bling-double-ring-p-47.html"/>
    <meta property="fb:admins" content="174717399208075"/>
    <meta property="og:type" content="product"/>
    You're using an app id that's not validated. Check this out:

    http://developers.facebook.com/tools...lace-p-78.html

    If that doesn't work just paste any url from your site into the linter:
    http://developers.facebook.com/tools/lint/

  9. #99
    Join Date
    Jan 2005
    Posts
    15
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Excellent, thanks for the info, I will start there :)

  10. #100
    Join Date
    Jan 2005
    Posts
    15
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Hi

    I found the problem...

    I had to change
    <meta property="fb:admins" content="174717399208075"/>

    to
    <meta property="fb:admins" content="entered email address"/>

    This still gives an error when using the developer tool but the add-on works.

    Cheers

 

 
Page 10 of 35 FirstFirst ... 8910111220 ... LastLast

Similar Threads

  1. Facebook like button
    By petestownrich in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Feb 2015, 07:02 PM
  2. v151 facebook like button
    By ken1 in forum General Questions
    Replies: 0
    Last Post: 14 May 2014, 07:03 PM
  3. Facebook like button
    By bocahydro in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Mar 2014, 01:48 PM
  4. facebook like button and google + button in Header.
    By Horrific_ending in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Jan 2012, 04:46 PM
  5. Facebook like button
    By rdsbaker in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 25 Mar 2011, 07:00 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