Giter Site home page Giter Site logo

Comments (7)

joedawson avatar joedawson commented on July 19, 2024

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.

stojankukrika avatar stojankukrika commented on July 19, 2024

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.

joedawson avatar joedawson commented on July 19, 2024

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.

stojankukrika avatar stojankukrika commented on July 19, 2024

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.

joedawson avatar joedawson commented on July 19, 2024

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.

stojankukrika avatar stojankukrika commented on July 19, 2024

Aha. Not I understand! THX bro! You are the best! Thank you!

from youtube.

joedawson avatar joedawson commented on July 19, 2024

No problem @stojankukrika thank you for using the package, enjoy!

from youtube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.