开发者

How to get Google OAuth tokens manually?

开发者 https://www.devze.com 2023-04-11 18:50 出处:网络
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 allo

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号