Open AkitaAttribute opened 1 year ago
From what I can tell, it's a moot point. Unless you get your app "verified", any uploaded videos are locked as private. It doesn't look like getting an app verified is a straightforward process.
I'd love to be incorrect here, but I think google made the YouTube API basically unsusable. :/
@shawnp0wers I literally just uploaded one???
So, do you have a verified API then?
I've been talking to the youtube team for hours, and unless I can verify my API, all my uploads will be automatically locked...
Wanna hop on a quick discord call? I can walk you through it. It's actually not too hard with the right steps.
You mean to get verified? Or have you done something else?
(I can't hop on discord right now, i'm sitting in bed with my laptop next to my wife, who would murder me if I started talking to someone at 11PM, lol)
I am not verified as far as I know. Nor is my app (youtube-upload). Is it complaining that you're not a verified user? On your consent screen you can define "test users" to bypass being verified with that.
This happens when I upload a video. The process works fine after I set up the API/app -- but my videos immediately get locked.
Is it a video you can send me? Maybe it's the video contents?
I can try uploading to test.
What are you setting the oauth type to? I had to change mine to "Desktop App" instead of "Web App".
https://twitter.com/TeamYouTube/status/1627859081019985921
There's my thread with youtube.
Here's a copy of an actual video that gets locked: https://home.brainofshawn.com/uploads/testvid.mp4
Oh... hmm... mine is set to web app, I can try to change it.
(I just deleted it, as I don't want to steal the works of others btw, for anyone in the future). https://youtu.be/jPeH8X3EFGs
Yeah, it worked for me.
Just a couple things
But this is exactly why we need an updated readme lol
I created a desktop app, and used that (had to manually do the callback thing, but then it uploaded) -- but it was immediately locked private again.
I have no idea why yours is working, lol
Did you download the new JSON client_secrets and generate new .youtube-upload-credentials.json?
If you can't figure it out, I can make some time tomorrow to look at it with you.
This is my discord server: https://discord.gg/CRPJN7r5
Just shoot a message there when you have some time.
Thank you. :)
More issues lol. So apparently if you do what I did, and make a test user, it's only valid for 7 days.
This issue addresses that problem: https://github.com/tokland/youtube-upload/issues/352
Wooo Google making things hard.
Did you download the new JSON client_secrets and generate new .youtube-upload-credentials.json?
How do I generate a new .youtube-upload-credentials.json @AkitaAttribute?
Hope all is well. There have been changes to setting up the credentials for the YouTube API, and I'm hoping someone can update the README file. I see there is already a PR with decent changes regarding this, so I won't go through duplicating the work. If that could be updated, it would save people like me a lot of time :)
Related articles: Stack Exchange discussing the changes, and what they are now