Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to Update Readme (Or accept existing PR to do so) #359

Open
AkitaAttribute opened this issue Feb 21, 2023 · 23 comments
Open

Request to Update Readme (Or accept existing PR to do so) #359

AkitaAttribute opened this issue Feb 21, 2023 · 23 comments

Comments

@AkitaAttribute
Copy link

AkitaAttribute commented Feb 21, 2023

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

@shawnp0wers
Copy link

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. :/

@AkitaAttribute
Copy link
Author

@shawnp0wers I literally just uploaded one???

https://youtu.be/dhLYmLNy4Yc

@AkitaAttribute
Copy link
Author

image

@shawnp0wers
Copy link

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...

@AkitaAttribute
Copy link
Author

Wanna hop on a quick discord call? I can walk you through it. It's actually not too hard with the right steps.

@shawnp0wers
Copy link

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)

@AkitaAttribute
Copy link
Author

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.

@shawnp0wers
Copy link

Screenshot at 2023-02-20 21-25-14

This happens when I upload a video. The process works fine after I set up the API/app -- but my videos immediately get locked.

@AkitaAttribute
Copy link
Author

Is it a video you can send me? Maybe it's the video contents?

@AkitaAttribute
Copy link
Author

I can try uploading to test.

@AkitaAttribute
Copy link
Author

What are you setting the oauth type to? I had to change mine to "Desktop App" instead of "Web App".

@shawnp0wers
Copy link

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

@shawnp0wers
Copy link

Oh... hmm... mine is set to web app, I can try to change it.

@AkitaAttribute
Copy link
Author

AkitaAttribute commented Feb 21, 2023

(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.

@AkitaAttribute
Copy link
Author

Just a couple things
image

@AkitaAttribute
Copy link
Author

image

@AkitaAttribute
Copy link
Author

But this is exactly why we need an updated readme lol

@shawnp0wers
Copy link

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

@AkitaAttribute
Copy link
Author

Did you download the new JSON client_secrets and generate new .youtube-upload-credentials.json?

@AkitaAttribute
Copy link
Author

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.

@shawnp0wers
Copy link

Thank you. :)

@AkitaAttribute
Copy link
Author

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: #352

Wooo Google making things hard.

@supervision
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants