How to get Google OAuth tokens manually?
I need to build a app that upload video youtube, my question is about logging in google. My app is for only one client, i don't want the user need开发者_如何学C to logging in youtube then before allow access to my app. I think if I can set tokens in a config file, is this possible? If yes, how i get manually the tokens to store in the config file?
Yes. You authorize the application on YouTube, get the tokens and store them. The application will then use the tokens that were stored. I've done it before (mainly for testing purposes) and it will work fine.
精彩评论