Set dynamic meta tag (for OG) in component
Dear community,
I'm trying to set dynamic meta tag on my page for open graph (OG) that can be seen when sharing via social media (AEM 6.5).
I can now set a default one in structure/page/customheaderlibs.
However, some pages contain specific images, and I want to replace the default OG content with the image link in my page/component. Is it possible to do so?
Since social media crawler doesn't interpret JS, I suppose this should be set at component level.
Thank you in advance!