Installed the mod and got this error:
Then I used the code from Facebook and it worked except when the product was liked it showed up on the Facebook wall but did not register the count number next to the like button on the product page:"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..."
So my question is why does the mod call for this code and not the code from Facebook when putting it in the tpl_product_info_display.php ??Code:<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=xxxxxxxxx&xfbml=1"></script><fb:like href="" send="false" layout="button_count" width="400" show_faces="false" font="arial"></fb:like>
What is the difference between your code and the Facebook code?Code:<!-- bof Facebook Like Button --> <div id="likeButton"><fb:like></fb:like></div> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: 'your application id', 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 -->


Reply With Quote
huh?

