I have a bunch of Google accounts each with Youtube videos. What I want to achieve is a Google App Script which can read user credentials info from a google spreadsheet, get him login using his credentials, access the youtube video url which we have and delete it.
Is this possible? i.e. Getting login into Gmail using Google App Script. If so then please provide a reference.
Thanks.
YouTube.Videos.remove('Your_Video_Id_Here');
Did you look at the reference material?
You can get the email of the active user with:
Session.getActiveUser().getEmail();
but you shouldn't need that if the person calls the function themselves via a menu/trigger/etc
Related
i'm trying to upload a video via Youtube Data API, but I always get a youtubeSignupRequired error.
I found on https://developers.google.com/youtube/v3/docs/errors?hl=en that youtubeSignupRequired, may mean that the user has a Google Account but does not have a YouTube channel.
That's my case, I've no YouTube channel for this Google Account, but I'm am admin of another Youtube channel (orange icon) which i can even see (under switch account) when logged in on youtube.com
I've created an empty channel now ("Testkanal"), but still don't see correct channel as an option on Oauth2 consent screen
Any ideas how it fix that, so I can uload to this channel?
Thx a lot!
Finally worked using the owner's account.
I have an web app that needs to import contacts of user from there mail account. How to use the API for that.
I am using socialauth sdk(2.4) with GGTS IDE in windows 7.
Working fine till i login to my gmail account. But gets redirected to error.jsp.
I copied the code from " https://code.google.com/p/socialauth/wiki/GettingStartedWithGrails ".
Please help me.
Google contacts API can be used to retrieve contacts from the users gmail account.
To retrieve all of a user's contacts, send an authorized GET request to the following URL:
https://www.google.com/m8/feeds/contacts/{userEmail}/full
With the appropriate value in place of userEmail.
Here is the link for documentation.
I'm developing a contest platform using Youtube.
So each contestant will upload a video thru our website. The video will be uploaded to our specific channel.
But, I kept receive warn email, google block login attempt from our contestant. The email says something that an unsecure app tryin to login.
And our tester (contestant) always failed to upload their video.
Please help.
There are a few ways you can approach this:
You can share a Youtube Channel. To do this, you need to have all the users as a manager of the G+ page the channel is connected to.
You can give all the users your account credentials for them to upload to your channel
your channel.
You can have the users upload the video to your servers and then you upload each video on the Channel's account yourself.
You can have them upload it to their own Youtube Channel and they can just pass you the URL to the video.
Personally, I think the last option is best.
For your login issue, if you are having users use the account credentials to login and upload themselves, you may be getting that warning because too many users from too many different locations are trying to access the same one account.
I have website where i enabled login by Google+ using OAuth 2. Is this possible to change the profile picture of Google from my website once he get login?
Thanks in Advance
Hmm.. ya it can be possible if your site use application which uses Google Apps-Profiles-Data-API. This Profile data api allow update status. But you must authorize the app.
yo can find more more here-
Profile data API
i got a premium account of spotify and then registered an app and then got the key file . now i want to get the plalylist and user data of any user who uses my application.
I searched around the web but did not found any way to get the user data like access_token in facebook graph api.
Any body help me
Solved, i got Plasylist.bnk from the installation directory, and its solved now. thanks all