About uploading YouTube from php

Asked 1 years ago, Updated 1 years ago, 103 views

https://developers.google.com/youtube/v3/code_samples/php?hl=ja#resumable_uploads
Using the above URL as a reference, I am creating a program to upload videos to YouTube via php.
You need to log in without fail to log in.
So, is there any way that other people can upload videos to their channel without logging in (without providing a password)?

Please let me know if you know more.Thank you for your cooperation.

php youtube

2022-09-30 21:16

1 Answers

I think we need to check separately if it conflicts with YouTube's terms of use, but if you store the access_token obtained from $client->getAccessToken() separately on the server and use that value, you can use the API for the duration of access_token.

Why don't you try dividing the sample code between getting access_token and getting access_token and uploading?


2022-09-30 21:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.