Websites using SSL (https) for some (or all) of their pages seem to be having issues with the implementation of Facebook social plug-ins such as the Like button, comments, Like Box etc. Since the simplest and straightforward implementation of the Facebook Like button uses the iFrame method, visitors to the website will often receive “mixed content warnings” if they are visiting secure pages (https) containing insecure elements.
Get an Application ID
//Define app ID and secret- REQUIRED
define('FACEBOOK_APP_ID', 'REPLACE WITH YOUR APPLICATION ID HERE'); define('FACEBOOK_SECRET', 'REPLACE WITH YOUR APPLICATION SECRET HERE');