Free access to materials by subscribing to Youtube

Asked

Viewed 65 times

1

I joined the following website:

Velosofy.com

In this site the interested in downloading something you want should click a button to subscribe to the Youtube channel to have access to the material. And when the user subscribes to the Youtube site, he has free access to the material.

Anyway, what are the requirements to get this type of site? How is it possible to create this type of authentication?

Has something to do with API Youtube

1 answer

3


According to this post of stackoverflow:

Use the method subscriptions#list with the variable mine = true and the channel ID you want to check on forChannelId. If the logged-in user is not subscribed to the channel the method will return an empty list.

This another post suggests an example:

HTTP GET https://www.googleapis.com/youtube/v3/subscriptions?part=id&mine=true&key={API_YOUTUBE}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.