Youtube API - Listing hidden videos of my channel using OAuth

438 views Asked by At

I need to list all my unlisted videos on a web page, using OAuth2. Associated with my email, there are 2 channels.

I am using this code: youtube/api-samples

When I first authorize OAuth, it lists the videos I uploaded on the chosen account, then when I reload the page it says I don't have videos uploaded.

If i remove all the cookies and reauthorize again it works, then if i reload the page again I get the "No videos" message.

It seems that it tries to list the wrong channel when i reload, but I am sure I authorized the right channel.

Am i doing something wrong?

0

There are 0 answers