Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Social Sharing Component

Avatar

Level 4

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

Level 10

@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/ 

Avatar

Level 4

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.