There currently doesn't seem to be a way to get new subscription videos through the YouTube v3 API, i.e an equivalent to the "newsubscriptionvideos" method in v2 and the "My subscriptions" page on the website. "activities.list" with "home=true" is not sufficient because it randomly omits videos.
Most rececently, I came across this iOS app called Tubex that seemed to figure out a solution. Their feed is absolutely spot on so there is no way they are following what we are currently doing. Anyone have any idea what kind of workaround Tubex may be doing to get it so accurate?
Related
I'm creating a fullstack project for a school that have a active Youtube channel. My project is suppose to help maintain and combine videos and information from Youtube into the website.
The problem is - every API request, as noted in the documentation, is limited to 50 units of data at max. This Youtube channel has been going for years, and now i'm stuck without any access to the pre-latest-fifty videos on the channel.
Recommendations anyone?
I hope someone from the youtube team could help me with this issue, or even be provided with an alternative online, instead of hand-scraping or bruteforcing my way to the data
I am a teacher and I have a YouTube channel with videos for my students. Every time one of my students see a video, I would love to know how he interacted with it: where he has paused it , where he has rewinded it, etc. This would help me in knowing the parts of the video that are difficult to understand.
My question is: is it possible to get all this data from a user's session? Specifically, can I get these detailed raw data from YouTube APIs?
From what I have explored so far, it seems that it is not possible, as YouTube APIs only seem to send "aggregated" data (example: total number of views of a video) or "properties" (example: title of the video).
I would really just need a Yes/No answer to my question, just to know if I am not waisting my time in exploring the APIs as a solution to my problem.
Thank you.
Yes and no,
But here is a more detailed explanation.
The YouTube Analytics api will give you analytics data on your own YouTube channel, but it wont be user specific you cant track who exactly did something. You may however be able to get some basic information about each video and what was clicked and how much was viewed. video reports But its not going to be user specific you wont know what Mike did as opposed to what Jane did.
The YouTube Data api will allow you to manage your own YouTube Channel for example upload videos and see subscriptions. It will also let you search for public videos on YouTube.
If you do want user specific then What you are looking for is session data related to user activity. Something like this is not publicly available. Google couldn't share your students activity without the students permission due to GDPR not to mention the fact that tracking anyone under the age of 13 would also be against some GDPR laws if i remember correctly.
Even Google analytics doesn't offer websites a decent way of tracking individual users activity on their websites. You can do it but you have to add additional tracking data to your website, and notify users that you are doing it.
SO your answer is yes kind of
I'm sending a get request to a link like this:
https://www.googleapis.com/youtube/v3/search?part=snippet&channel_id=[MyChannelId]&type=video&eventType=live&key=[MyKey].
The purpose of it is to get the live events of a specific channel for which I provided its ID.
The problem is this does not work all the time.
When I go checking in YouTube, the channel is streaming, but I don't get any data through this link.
What are the possible mistakes that may cause this?
Or is it just a problem from their servers?
Is there an alternative reliable way?
From everything I have researched I have not been able to find a way to grab past subscriber count on a certain date. If I can't do it through Youtube API is there any other site that would have this kind of data I could grab for a bunch of different channels?
I'm not sure if this is possible with all of the updates to YouTube showing rounded subscriber counts. I would recommend checking out the YouTube Analytics & Reporting APIs at https://developers.google.com/youtube/analytics. Other than that, I would say not.
It's a known issue that Youtube API (v2) doesn't support liked videos - http://www.youtube.com/my_liked_videos (not http://www.youtube.com/my_favorites). The trick was to use events API for user's recent activity and filter out those with yt:rating.value = like. However, when I hit this endpoint https://gdata.youtube.com/feeds/api/users/default/events?inline=true (with proper authorization headers), I only get last 24 events and all of them are of 'X has uploded a video' type. Has anyone experienced this and figured out what is wrong?
You can get liked videos without much effort in v3 of the API. I don't think there's a workaround for this in v2.
In v3, make a channels.list(part=contentDetails) call to get the "likes" playlist id, and then do a playlistItems.list() call to get the contents of that playlist, i.e. the videos that have been liked.