问题
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