gpt4 book ai didi

youtube-api - 使用 Youtube Data API 使我的视频在上传时成为私有(private)的

转载 作者:行者123 更新时间:2023-12-04 11:42:48 27 4
gpt4 key购买 nike

我刚刚制作了一个在给定文件夹中上传视频的“应用程序”,该程序可以工作,但是每当我通过我的程序上传视频时,它都会使视频成为私有(private)(锁定)。然后我收到一封邮件,说我的计划尚未获得批准。我曾尝试将 status.privacyStatus 设置为非公开和公开,但没有成功。
关于如何让我的申请获得批准以便我可以上传公共(public)视频的任何想法?
我怀疑这可能与 Oauth 有关,但是我不确定我哪里出错了

最佳答案

根据 Google 支持的文章 Videos locked as private ,您描述的问题是设计使然:

For videos that have been locked as private due to upload via an unverified API service, you will not be able to appeal. You’ll need to re-upload the video via a verified API service or via the YouTube app/site. The unverified API service can also apply for an API audit.

To ensure your video isn’t locked private again, don’t post content that:

  • [...]
  • Has been uploaded by an unverified third party API service.

不幸的是,在您的应用获得 Google 批准之前,如果需要公开视频内容,您别无选择,只能通过 YouTube 的 Web UI 手动上传该内容(或使用以编程方式访问该 UI 的工具) ;但是,据我所知,TOS 文档禁止这种事件)。

Videos.insert 官方文档API 端点指定了与上述完全相同的要求:

All videos uploaded via the videos.insert endpoint from unverified API projects created after 28 July 2020 will be restricted to private viewing mode. To lift this restriction, each API project must undergo an audit to verify compliance with the Terms of Service. Please see the API Revision History for more details.



The entry of API Revision History related to this issue内容如下:

All videos uploaded via the videos.insert endpoint from unverified API projects created after 28 July 2020 will be restricted to private viewing mode. To lift this restriction, each project must undergo an audit to verify compliance with the Terms of Service.

Creators who use an unverified API client to upload video will receive an email explaining that their video is locked as private, and that they can avoid the restriction by using an official or audited client.

API projects created prior to 28 July 2020 are not currently affected by this change. However, we strongly recommend that all developers complete a compliance audit for their projects to ensure continued access to the YouTube API Services.

关于youtube-api - 使用 Youtube Data API 使我的视频在上传时成为私有(private)的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64079139/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com