Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Social Sharing Component

Avatar

Level 5

I want to use the Social Sharing Core Component for AEM as a Cloud Service but the component has been deprecated. Is there any alternate solution for this?

3 Replies

Avatar

Employee Advisor

@nikita24tailor try the share js method of the respective social vendor. For ex: 

FB.ui({
  method: 'share',
  href: 'https://developers.facebook.com/docs/',
}, function(response){});

https://developers.facebook.com/docs/javascript/reference/FB.ui

Avatar

Community Advisor

Hi,

I don't think so it is deprecated https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/sharing....

but it only supports facebook and pintrest, which is not enough I guess.

 

You can build your own social share component, It required configuration like icon or title, share api path. With javascript collect the page path, title 

A basic example - https://www.torontomu.ca/web-support/editing-your-site/touch-components/social-media/ 



Arun Patidar

Avatar

Level 5

The component which AEM provides actually renders the links provided from the page properties. But in recent releases the section for social links from the page properties has been removed. So, I don't know how to use that component.