Is there a way to push videos to YouTube channels without setting up an Google Cloud Account.
Why I'm asking because it's extra cost.
Another article said you can push through Dynamic Media Cloud.
Any help on this please?
Thanks
smacdonald2008
smacdonald2008
11-01-2016
You can use YouTube Java API and build a custom AEM service that can integrate with YouTube. As i state a lot - one of the most powerful things about AEM is its ability to use 3rd party APIs to build custom services. See these Google docs for more information:
https://developers.google.com/youtube/v3/code_samples/java?hl=en
kautuk_sahni
Community Manager
kautuk_sahni
Community Manager
11-01-2016
Hi
Adding to what Scott and Jitendra has provided:
Getting Started:- https://developers.google.com/youtube/2.0/developers_guide_java?hl=en#Getting_Started
//First step is to do Authentication :- The Java client library can be used to retrieve public feeds or to execute authenticated operations. All public feeds are read-only and do not require any authentication. Authenticated operations, on the other hand, include the retrieval of private feeds as well as write, upload, update and delete operations. You will need to sign up for a developer key to be able to execute authenticated operations.
101 for YouTube API :- Step by setp explained :- http://www.javacodegeeks.com/2010/05/getting-started-with-youtube-java-api.html
Example code :- https://developers.google.com/youtube/v3/code_samples/java
I hope this would help you.
Thanks and Regards
Kautuk Sahni
TheBigRed
TheBigRed
14-01-2016
smacdonald2008 wrote...
I am looking into the Dev Google Code. Here is the latest Google API code from GitHub:
If you decided to go custom service route - this is the code to use - appears version 2 is deprecated.
WIth respect to the doc - I am not sure if the Google Cloud service has a bug. If you followed the docs and it does nto work - seems to be a bug somewhere.
I will ask support to look tomorrow to see if there are any known issues.
I think the issue is our AEM server is non-public. According to step 17 it won't validate
I get this error when configuring the YouTube setup:
400. That’s an error.
Error: invalid_request
Invalid parameter value for redirect_uri: Non-public domains not allowed: http://vmbdcl074:4502/etc/cloudservices/youtube.youtubecredentialcallback.json
How can you by pass this?
smacdonald2008
smacdonald2008
13-01-2016
I am looking into the Dev Google Code. Here is the latest Google API code from GitHub:
If you decided to go custom service route - this is the code to use - appears version 2 is deprecated.
WIth respect to the doc - I am not sure if the Google Cloud service has a bug. If you followed the docs and it does nto work - seems to be a bug somewhere.
I will ask support to look tomorrow to see if there are any known issues.
smacdonald2008
smacdonald2008
13-01-2016
Did you follow the entire doc and nothing happened at all. Did you follow all steps. Did you explore the possibility of writing your own service using Google APIs?
TheBigRed
TheBigRed
13-01-2016
So my team has decided to change course. We configured everything following this article:
However nothing is getting published. We are on 6.1, Google cloud platform is set up and configuration file in AEM is also set up with correct credentials.
When I click publish nothing gets uploaded to YouTube. Where can I confirm or check for errors regarding this. Nothing seems
to be popping up in the error logs.
Thanks!
Jitendra_S_Toma
Jitendra_S_Toma
11-01-2016
While using the YouTube API to achieve your goal, you might be needing some help on how to integrate third party libraries (Not bundles) in your project.
http://www.cqblueprints.com/tipsandtricks/build-and-deploy-osgi/deploy-third-party-libs.html
Jitendra
TheBigRed wrote...
Is there a way to push videos to YouTube channels without setting up
an Google Cloud Account.
Why I'm asking because it's extra cost.
Another article said you can push through Dynamic Media Cloud.
Any help on this please?
Thanks
TheBigRed
TheBigRed
11-01-2016
smacdonald2008 wrote...
You can use YouTube Java API and build a custom AEM service that can integrate with YouTube. As i state a lot - one of the most powerful things about AEM is its ability to use 3rd party APIs to build custom services. See this Google docs for more information:
https://developers.google.com/youtube/v3/code_samples/java?hl=en
Thank you very much Scott!