JasperVriends New problem, If i add any image with embed code and manually post that discussion on twitter, embed image not appear on tweet, just shows site favicon.
Problem is in source code:
<meta name="twitter:image" content="https://site.com/assets/favicon.png">
Why does ignore embedded image within the topic? This code needs to be updated dynamically.
Please fix it for twitter and facebook.
Temporary fix for facebook: Remove codes in PageListener.php
under vendor/v17development/flarum-seo/src/listeners
if($applicationFavicon !== null)
{
$this->setMetaPropertyTag('og:image', $this->applicationUrl . '/assets/' . $applicationFavicon);
$this->setMetaTag('twitter:image', $this->applicationUrl . '/assets/' . $applicationFavicon);
$this->setSchemaJson('image', $this->applicationUrl . '/assets/' . $applicationFavicon);
}[/code)