I'm trying to use the Facebook plugin from webtechnick with my CakePHP 1.3.10 app. I've followed all the directions to install it and have all the functionalities available:
- Downloaded package and installed in app/plugins/facebook
- Created app/config/facebook.php with my app's id, key and secret numbers, based on the example config file
- Included $helpers = array('Facebook.Facebook') in my app_controller.php
- Echoed the $this->Facebook->html() function in my layout (replcing the default html tag)
- Echoed the $this->Facebook->init() function at the bottom of the layout, before
Then, I use this code in my view:
echo $this->Facebook->share('link');
echo $this->Facebook->like();
echo $this->Facebook->comments();
But I only get the share button, not the like or comments. Am I missing any step? If I echo something inside the facebook helper like() function for example, it prints in in the view, so it's actually calling the function, but not generating the facbook element. Any ideas? I don't know what else to try, I believe I've followed all the steps...
----------UPDATE--------------------------
With Firebug I see this script error: FB.provide is not a function
The file where the error comes from is http://connect.facebook.net/es_ES/all.js, which I assume the plugin calls it. But since it's in Facebook's servers, what can I do about it? Does that mean there's a problem on their end? I don't see many more things I can do in my end. Any ideas?