Those tags aren't required for Facebook Login, but are used for Open Graph integration. If you're relying on the Open Graph features of JFBConnect to set your tags for when your pages are shared in Facebook, those namespaces are required. They're also *recommended* by Facebook for the social buttons (Like, comment, etc).And one additional question: How can I prevent JFBConnect from adding this tags to the html tag:
xmlns:og="ogp.me/ns#" xmlns:fb="ogp.me/ns/fb#"
$body = str_ireplace("<html ", '<html ' . $ogNamespaces, $body);
// $body = str_ireplace("<html ", '<html ' . $ogNamespaces, $body);
{
function display($tpl = null)
{
$app = JFactory::getApplication();
$input = JFactory::getApplication()->input;
{
function display($tpl = null)
{
// Add this code starting here
$app = JFactory::getApplication();
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('id, template, params');
$query->from('#__template_styles');
$query->where('id = 3'); // UPDATE THIS LINE WITH YOUR TEMPLATE ID
$db->setQuery($query);
$template = $db->loadObject();
if ($template)
{
$styles = new JRegistry();
$styles->loadString($template->params);
$app->setTemplate($template->template, $styles);
}
// Below here is the original code
$app = JFactory::getApplication();
$input = JFactory::getApplication()->input;
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.