Keyword

All Facebook buttons disappeared from site

  • Craig Elliss
  • Craig Elliss's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago #105434 by Craig Elliss
All Facebook buttons disappeared from site was created by Craig Elliss
Hi all, was just working on a dev site and noticed when I refreshed the page all my Facebook buttons including built in K2 social media Facebook like button and third party module Recommend button had disappeared from the site. Anyone else experienced this. I've seen a few posts on here about similar things but no solid solutions...

Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #105435 by Lefteris
Replied by Lefteris on topic Re: All Facebook buttons disappeared from site
Hi. Are you still facing the issue? K2 uses facebook button only in the item view. Try to ensure that your template overrides are up to date.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #105436 by Andrew Billy
Replied by Andrew Billy on topic Re: All Facebook buttons disappeared from site
Good morning,

I also noticed that the like buttons were missing from our articles. Using K2 2.5.7 and not updating to 2.6.1 right now.

oklahomawelcome.com

I have added the code (at the bottom of this post) to properly share images in facebook on two of our overrides and thought this might have been the cause, but it is affecting templates without the facebook meta information and seems to be random.

Getting this notice in the developer console: Given URL is not allowed by the Application configuration
<?php
        $fbog =& JFactory::getDocument();
        $opengraph_meta = '
        <meta property="og:title" content="'.$this->item->title.'"/>
        <meta property="og:type" content="blog"/>
        <meta property="og:url" content="'.JURI::getInstance()->toString().'"/>
        <meta property="og:site_name" content="Oklahoma Welcome"/>
        <meta property="fb:admins" content="*****"/>
        <meta property="fb:app_id" content="*****"/>
        ';
        if (!empty($this->item->image)) {
            $opengraph_meta .= '<meta property="og:image" content="'.JURI::base().''.$this->item->image.'"/>';
        }
        else {
            $opengraph_meta .= '<meta property="og:image" content="http://oklahomawelcome.com/images/no_image.png" />';
        }
        $fbog->addCustomTag( $opengraph_meta );
?>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum