I have set up the facebook plugin like the instructions.
- 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
I run this code:
echo $this->Facebook->share('link');
If I go to: http://myhomepage.com it works but if I go to the same with HTTPS I just get a text share. In IE 10 and Chrome I get a Not safe content error. If I accept it it works.
How do I run it over SSL? I have bought the certificate, so it is valid and not a home-made self-signed one. I am running Cake PHP version 2.
I have tried to search the web, but I just find problems with the login function and not with the share button.