YouTube Reporting API using Service Account

后端 未结 1 1985
予麋鹿
予麋鹿 2021-01-16 03:25

Following Google\'s documentation you should be able to use the YouTube Reporting API without user authentication by using a Service Account.

Currently I have a very

相关标签:
1条回答
  • 2021-01-16 03:38

    In general, service accounts can be used to impersonate a user account. Making authorized calls is mentioned in Preparing to make an authorized API call.

    But to answer the question, Service Accounts do not work with the YouTube API:

    Service accounts do not work for YouTube Data API calls because service accounts require an associated YouTube channel, and you cannot associate new or existing channels with service accounts. If you use a service account to call the YouTube Data API, the API server returns an error with the error type set to unauthorized and the reason set to youtubeSignupRequired.

    0 讨论(0)
提交回复
热议问题