Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • russtic Friend
    #177292

    When someone clicks like the text that goes on Facebook is:
    Premium responsive Joomla template developed by JoomlArt – JA Lens. This responsive template supports K2 component, and suits best for portfolio sites.

    I have checked the meta tags for the page they are:
    <meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
    <meta name=”keywords” content=”Kent, Rebekah Tate, Artist” />
    <meta name=”description” content=”Rebekah Tate, young artist from Kent.” />
    <meta name=”generator” content=”Joomla! – Open Source Content Management” />

    so what is going wrong and how do I sort it?

    Thanks in adavance

    russtic Friend
    #453918

    Figured it out. Needed to reset at facebook’s end. In addition changing components/com_k2/views/item/view.html.php as follows makes facebook show correct image:

    // Load Facebook meta tag for item image
    $facebookImage = ‘image’.$params->get(‘facebookImage’,’Small’);
    $document->setMetaData(‘image’,substr(JURI::root(),0,-1).str_replace(JURI::root(true),”,$item->$facebookImage));

    to
    // Load Facebook meta tag for item image
    $facebookImage = ‘og:image’.$params->get(‘facebookImage’,’Small’);
    $document->setMetaData(‘image’,substr(JURI::root(),0,-1).str_replace(JURI::root(true),”,$item->$facebookImage));

    demianhdz Friend
    #453921

    This is posting URL on FB. Can it have like title of article or description instead?

    chavan Friend
    #453972

    Hi

    You can read this article to know more Open Graph Tag.
    https://developers.facebook.com/docs/reference/plugins/like/

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  chavan 12 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum