Youtube API or link ... getting unregistered videos?

I am having trouble capturing the last 4 uploading "unregistered" videos from my youtube account. I can do this with the public, but it won't work with unlist. Is there a gdata api I can use?

this is what I use publicly and then analyze the results. https://gdata.youtube.com/feeds/api/users/UserName/uploads?orderby=updated&max-results=4

+3


source to share


3 answers


You can try to authenticate your request

see https://developers.google.com/youtube/2.0/developers_guide_jsonc

Shell example:



# getting auth token
TOKEN=$(curl --silent 'https://www.google.com/accounts/ClientLogin' --data-urlencode Email=YOUR_EMAIL --data-urlencode Passwd='YOUR_PASSWORD' -d accountType=GOOGLE -d source=SO -d service=youtube | grep Auth)

# call api with Authorization
curl --silent --header "Authorization: GoogleLogin $AUTH" "https://gdata.youtube.com/feeds/api/users/UserName/uploads?orderby=updated&max-results=50"

      

for PHP, take a look at this page: http://code.google.com/p/oauth-php/wiki/ConsumerHowTo

+1


source


Unfortunately, I don't think this is possible due to the perceived privacy of unregistered videos.

From the developer guide: https://developers.google.com/youtube/2.0/developers_guide_jsonc



"Private videos are not included in search results or are displayed in any other way, and the user can access unregistered videos by entering or linking directly to the URL of the video viewing page."

0


source


It's a little tricky. A private video is one that a) does not have b) has

However, the problem is that the YT download API is not returning for any video recording, simple or not. Maybe you have to make another API call to pull the video yt: accessControl?

0


source







All Articles