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

Sharing videos on social networking sites

Avatar

Avatar
Level 1
rahul_Nirale
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
rahul_Nirale
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
rahul_Nirale
Level 1

28-05-2018

Hi,

I am working on a functionality in AEM sites where I need to provide user a feature to share videos from aem site to social networking sites like facebook, twitter. I am able to do this. Now user can share a video from AEM site to Facebook. But when they login to there facebook account and try to play the shared video they will redirect back to AEM site. The critical requirement here is that the video should play in facebook itself.

Per my understand, for a video to be played in facebook itself, it should be uploaded to facebook. If this is correct then I need a way to upload video from AEM site to facebook as soon as user shares it.

I googled around and found no way to upload a video to facebook from AEM however I got some ways in PHP but we can't integrate PHP in our AEM site now. In JAVA though there are some API to upload video to facebook but they are thired party neither of facebook nor of AEM.

I anyone out there know "how can we upload a video from AEM site to facebook and twitter" please provide the insight.

Your help is highly appreciated!!

Thank You

Rahul Nirale

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

28-05-2018

Avatar

Avatar
Level 1
rahul_Nirale
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
rahul_Nirale
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
rahul_Nirale
Level 1

28-05-2018

hi smacdonald,

thank you for your reply, but I need to provide the share functionality to the end user, not for the author.

if end user on clicking share button the video from the Aem need to be shared on facebook and twitter sites,

I am using facebook open graph meta tags for sharing, I was able to share the video but on Facebook, after sharing if the user clicks on the shared video it is playing in the new tab instead of playing in facebook. my requirement is video need to be shared by the ender user on clicking the share button and the video has to be played on facebook instead of redirecting to aem.

For twitter, I was able to share the video on twitter and video is also playing on the twitter site, to achieve this I have used twitter player card(meta tags) but on one page I have more than one video I can generate meta tags for only one video to share, how can i share video if I have more than one video. I have tried to change meta tags through jquery but there is no use of that because on sharing the page url

twitter is trying to read meta tags from the serverside.how can i change the meta tags on the server side can you help me with this?

Thank you,

Rahul Nirale