Всем привет! У меня при шаринге статьи не выводится картинка детального изображения. Что я делаю не так?
<!DOCTYPE HTML>
<html>
<head>
<title><?$APPLICATION->ShowTitle()?></title>
<meta property="og:image" content="http://' . SITE_SERVER_NAME . $arResult['PREVIEW_PICTURE']['SRC'] . '">
<?$APPLICATION->ShowHead();?>
<?$APPLICATION->ShowProperty('og-image');?>
<?$APPLICATION->ShowHeadStrings('<meta property="og:image" content="http://<?=SITE_SERVER_NAME?>' . $arResult["PREVIEW_PICTURE"]["SRC"] . '" />')?>
<script src="https://code.jquery.com/jquery-3.2.1.js" integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE=" crossorigin="anonymous"> </script>
<link rel="stylesheet" type="text/css" href="/verstka/assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/verstka/assets/css/style.css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="<?=SITE_TEMPLATE_PATH?>/verstka/assets/css/fixIE.css"/>
<![endif]-->
</head>
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
$cp = $this->__component;
if( is_object($cp) )
$cp->SetResultCacheKeys( array('DETAIL_PICTURE') );
?>
и в component_epilog.php вывожу:
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
$APPLICATION->SetPageProperty('og-image', '<met a property="og:image"' . $arResult['DETAIL_PICTURE']['SRC'] . '">');
?>