Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Facebook og:image and og:url paths.

Avatar

Level 3

We have three different websites (e.g. examples1.com, examples2.com, examples3.com), the Social Media Sharing for Facebook and Pinterest are working but for "og:image" and "og:url" all pointing to the same domain(examples1.com). Where or how could we set up for the other two domains(examples2.com, examples3.com)?

Right now all three sites og:image looks like this:

meta property="og:image" content="https://www.examples1.com/image.png?ck=1695303786"

Using out of box <sly data-sly-include="head.socialmedia.html"></sly>

Thanks.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Unfortunately, the Sharing component is deprecated[1] and originally it didn't support a multi-tenant implementation as far as I can see: https://github.com/adobe/aem-core-wcm-components/blob/b4327c3fedf2ade81cb52b6dccadad18cb780c8d/bundl... 

 

However, this relies on the externalizer feature which means it is easy to extend and adjust to a multi-tenant solution if needed. Please refer to this link for such customization: https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... 

 

[1]. https://experienceleague.adobe.com/docs/experience-manager-core-components/using/wcm-components/shar... 



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Unfortunately, the Sharing component is deprecated[1] and originally it didn't support a multi-tenant implementation as far as I can see: https://github.com/adobe/aem-core-wcm-components/blob/b4327c3fedf2ade81cb52b6dccadad18cb780c8d/bundl... 

 

However, this relies on the externalizer feature which means it is easy to extend and adjust to a multi-tenant solution if needed. Please refer to this link for such customization: https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... 

 

[1]. https://experienceleague.adobe.com/docs/experience-manager-core-components/using/wcm-components/shar... 



Esteban Bustamante