js.src = "//connect.facebook.net/xx_YY/all.js";
alzander wrote: Muhammad,
Please enable access, or create me an account where I can see the front-end and Private Message me the credentials.
If the enabling the CDN plugin causes your problems, please open up the source HTML of your page and search for "all.js". You should fine a line that looks like:The if your domain name is in front of the //connect. portion, that's a problem. There should be no http or domain name in that URL. If so, contact the developer of the plugin and let them know it's incorrectly trying to place that file on the CDN. That is not a JFBConnect issue.js.src = "//connect.facebook.net/xx_YY/all.js";
After you've verified that, we'd recommend running Autotune on your page. Specifically, the Error Check portion, which checks for common problems? You'll need to set the site online during the test, but you can do that quickly for just the test. Let us know if you get any errors there.
If the site isn't public, Facebook won't be able to see the images from the page being Like'd or Share'd. It would get redirected to the "Offline" page, which only has the logo.. that's why that image is being used. Once you're online, the real images should start working after a day or so.
Finally, for showing your site in a Facebook Page Tab, the maximum width you can set the page to is 820px. That's a Facebook restriction. If you're showing it in the Apps.facebook.com area, you can set the Canvas Width to "Fluid". That's done in the developers.facebook.com/apps settings area for your application.
Hope that helps,
Alex
function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "http://cdn.defenderofsunnah.com/connect.facebook.net/en_GB/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
else
{
echo '<html><head></head><body><script type="text/javascript">top.location.href = "https://apps.facebook.com/YOUR_APP_URL";</script></body></html>';
$app->close();
$tabTemplate = $this->configModel->getSetting('canvas_tab_template');
$this->setTemplate($tabTemplate);
}
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.