Comments (7)
Hey @stojankukrika,
Thanks for using the package.
The authentication routes are used for the initial setup of the package itself, so you would login when you first install the package and then you wouldn't be required to authenticate again as the package handles the tokens for you automatically.
Or are you trying to upload to multiple channels?
from youtube.
No, I tr to upload only one channel but surprise me when I go to page where upload video and he asks me to login with google account. I don't know do my users need to have it to upload or just first time to me? Because I see that I need to generate token, and visit route that generate ans save token from youtube and get back user to upload video. Is that OK or I missed something?
from youtube.
Why are you asking users to log in? Only you need to log in with account that owns the YouTube channel you're uploading to.
It's up to you how you want users to send you the videos to upload, you don't need to ask them to login to upload...
from youtube.
How to do that? I want to thy didn't need to login to youtube. Only to my system and it's will be the perfect scenario.
I find here where and how to get that token to upload video.
https://github.com/JoeDawson/youtube/blob/master/src/config/routes.php
Do I need to do that? Or how to fix it?
from youtube.
Firstly, your users should not be going to the /youtube/auth
route. This is only for you to authenticate your channel.
In your case, you would want your users to upload the files to your server. Then your application will upload them to YouTube (I recommend using queues for uploads).
If you want users to have an account to upload a video to your application then that's down to you to set up. There's no reason for them to hit the /youtube/auth
route.
from youtube.
Aha. Not I understand! THX bro! You are the best! Thank you!
from youtube.
No problem @stojankukrika thank you for using the package, enjoy!
from youtube.
Related Issues (20)
- Laravel 6.0 Support HOT 6
- Can i use this package with Vuejs? HOT 1
- Is there a way to use user specific access token? HOT 1
- quotaExceeded - Exception returns error 500 HOT 4
- Undefined index: created HOT 1
- Re-authenticate HOT 1
- Playlist HOT 1
- 1MB chunk hardcoded should be moved to config HOT 1
- Upload with public parameter got blocked (private) on youtube HOT 1
- While uploading unlisted video it got uploaded as private HOT 2
- Not found exception HOT 27
- Add support to Laravel 8 HOT 1
- how can i make a playlist and push video to it ? HOT 1
- Add possibility to set embeddable status attribute
- How can I Share private youtube videos automatically? HOT 1
- Can't delete a youtube video
- call_user_func_array() expects parameter 1 to be a valid callback, class 'Google\Client' does not have a method 'getVideoInfo'
- PHP 8 and/or 8.1 support? HOT 2
- filesize(): stat failed error HOT 1
- Laravel 9 compatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube.