Disclaimer: I am woefully behind the times when it comes to social/Facebook integrations. i.e. I don't know what I don't know, so my apologies if this is a simple obvious thing.
I've installed the Facebook Connect and Like Free extension from Magento connect. With this extension enabled, I can see the following HTML code on the catalog_product_view
page.
<fb:like href="http://magento-1-9-0-0.dev/test/test-product.html" layout="standart" show_faces="false" width="450" colorscheme="light"></fb:like>
However — no Facebook like button is rendered on my page. I've placed some Start
and End
debugging around the section of PHP which renders this
<?php if($this->helper('facebookfree/active')->isActiveLike()):?>
Start
<fb:like href="<?php echo $this->helper('core/url')->getCurrentUrl()?>" layout="<?php echo $this->helper('facebookfree/active')->getLikeLayout()?>" show_faces="<?php echo $this->helper('facebookfree/active')->isFacesLikeActive()?>" width="<?php echo $this->helper('facebookfree/active')->getLikeWidth()?>" colorscheme="<?php echo $this->helper('facebookfree/active')->getLikeColor()?>"></fb:like>
End
<?php endif?>
And nothing shows up between those words in my browser.
I know/assume fb:like
isn't a standard HTML element, but what's supposed to render this as an actual like link?
I was getting an error in my console about the URL not matching my facebook application's URL settings, but I corrected that.
This is a stock, non production system with a mostly fresh install of 1.9 CE. It's also running from a local development instance on my laptop.
Also, if I let the page sit there for 45 seconds, I get the following error in my javascript console.
fb:like failed to resize in 45s