【发布时间】:2021-08-10 07:10:02
【问题描述】:
我正在使用Python直接运行一个自动回复用户cmets的脚本。
申请网络应用程序后,我有一个客户机密文件。但是,当我运行凭据时,它首先要求我请访问此 URL 以授权此应用程序,然后当我单击它时,它给了我这个错误:
Error 400: redirect_uri_mismatch The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at.
在这种情况下我应该申请什么OAuth。
我知道这个问题可能与重定向 URL 有关。但是因为我是在本地计算机上用我的脚本运行它,所以我想知道我的 URL 应该是什么。
【问题讨论】:
标签: python-3.x youtube-api youtube-data-api