Quantcast
Channel: PHP - Getting Channel ID after OAuth - YouTube API - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by shukshin.ivan for PHP - Getting Channel ID after OAuth - YouTube API

$
0
0

You should add youtube.readonly scope, plugins like socialite have exactly this scope hardcoded. The channel snippet can be got via channels method - docs with part=snippet.

Readonly scope is light enough to include it to your list. userinfo.profile and yt-analytics.readonly don't have access to channels list. This scope is the only one needed to get channel id.


Viewing all articles
Browse latest Browse all 3

Trending Articles



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