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
BedrockMission!

Learn More

View all

Sign in to view all badges

Social sharing In AEM

Avatar

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
Level 3

15-10-2015

Hi Guys,

   I am trying to add social sharing options to my blog pages.  The context is that author will share the article/blog to the organisation's social page [This is not for end user, should be only for author]

Can some one tell me whether the following will work??

Pinterest:

    <a data-description="Blog title 1" data-media="/content/dam/content-images/gap/summary_share.png" href="https://in.pinterest.com/pin/create/button/">Next stop: Pinterest</a>

Tweet Share:
    <a href="https://twitter.com/share">Tweet this</a>

FB Share:

    <a href="https://www.facebook.com/sharer/sharer.php">Share this </a>

This  is existing code, and i have to use this minimal changes. Not sure if it works or not.

Please let me know your comments

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
bsloki
MVP

15-10-2015

It should work!! You can also use any of the 3rd party plugins like 'ShareThis' or JQuery Plugins 'Social' etc.

Also according to me, better to make these as a page properties and allow authors to select the social medias where they would like to share these pages once activated. Based on these properties share them using the APIs to share them on activation.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
Level 3

15-10-2015

Thanks a ton bsloki!!