Nes Theerapon
Nes Theerapon

Reputation: 53

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

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.

enter image description here

Upvotes: 5

Views: 1483

Answers (2)

Vaibhav Sharma
Vaibhav Sharma

Reputation: 1123

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

Upvotes: 0

nvnagr
nvnagr

Reputation: 2063

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.

Upvotes: 4

Related Questions