Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm trying to use youtube api to get a list of subscribers to a channel i own then check a user's Email to find out if he's subscribed or not. Now I'm using this page to test my first step https://developers.google.com/youtube/v3/docs/subscriptions/list and inserting data as follows and all other fields are empty enter image description here

As you can see I get this error and the part label contains an error while the value is "snippet". how to solve this problem and if solved as I need is it available to get a list of all users' emails subscribed to my channel as a list?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.2k views
Welcome To Ask or Share your Answers For Others

1 Answer

get a list of subscribers to a channel i own

If you want check the subscribers of your YouTube channel you need to use the resource subscription.list with these fields:

part: subscriberSnippet
mySubscribers: true

And authenticate with OAuth2.0.

then check a user's Email

Email is a private information, you can get it only if the owner of the channel give you the permission.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...