This is a comment on Open Graph protocol integration, posted by ascrsoft at 11.12.2020 14:14

View source for Re: Open Graph protocol integration

my quick and easy solution by adding a search in the file /theme/_common/_header.php
$tpl->og_title		= $this->page['title'];
$tpl->og_type		= 'artículo';
$tpl->og_url		= $this->href('', $this->tag, null, null, null, null, null, true);
preg_match('#\(http(.*?)\)#', $this->page['body'], $match);
$tpl->og_image		= "http".$match[1];
$tpl->og_description	= $this->get_description();
I hope that someone will serve you too, as it is more comfortable to put the automatic photo from the article.

Greetings and thanks for the help.