Google Youtube Data API:包含API密钥的私有视频
所以我们在youtube上有一些私有的培训视频。我们希望登录我们系统的人能够访问这些视频,但我不希望他们必须使用oauth登录。
So we have some training videos on youtube that are private. We want people that log into our system to be able to access those videos, but I don't want them to have to login with oauth.
我想要我们的应用程序对我们的帐户进行身份验证,当我们的应用程序使用api时,我希望它返回私有视频。 (我可以使用API密钥并限制推荐)
I want our app to do the authentication to OUR account and when our app uses the api, I want it to return private videos. (I'm fine with using the API key and limiting the referral)
我玩过api,但是api密钥不会返回私有视频。
I've played around with the api, but the api key does not return private videos.
它总是返回一个空数组。
It always return an empty array of items.
我该怎么做?
您需要OAuth到您自己的帐户。虽然你可以不经过身份验证就可以做到这一点。 YouTube Data API:使用V3的服务的OAuth身份验证,无需用户干预
You need to OAuth to your own account for that. Though you can do this without authenticating all the time. YouTube Data API: OAuth Authentication for services using V3 without user intervention