Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Python YouTube Reporting API Authentication

$
0
0

I've sorted through many threads on this topic but most seem outdated.

I am trying to call the YouTube Reporting API with this script

However I keep getting an error:

  • When using 'Desktop Application' OAuth, I get:

Error 400: invalid_request, The out-of-band (OOB) flow has been blocked in order to keep users secure.

  • When using 'Web Application' OAuth, I get:

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.

I am just still testing my code and been running out of jupyter notebook and Visual Studio Code. Same errors on both.

I am still a little confused as to which one I should be using, but adding redirect URI's for my localhost is not working, not sure how to proceed.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>