How to obtain Client Secret in Youtube API for iOS client?

◇◆丶佛笑我妖孽 提交于 2019-12-06 02:30:37

问题


I'm working on iOS app that contains feature uploading video on Youtube.

I followed an example project from yt-direct-lite-ios. The project requires client id and client secret

I went to console.developers.google.com to create client id (with iOS client). However I can ONLY find the client id. So where can I obtain client secret from here?

I have also checked this post and still not work for me.

Thanks in advance.


回答1:


You don't need a secret with the iOS client. (there used to be and that is why the example needs it but we have gotten rid of it). Just leave it blank and it should work.




回答2:


if you want to leave blank the secret Key, In this case You just select OAuth 2.0 client ID in Add Credential. It's Work successfully



来源:https://stackoverflow.com/questions/33212723/how-to-obtain-client-secret-in-youtube-api-for-ios-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!