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
source to share
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
source to share
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."
source to share