is the dislike information still available on youtube's api? - youtube-api

since youtube updated thier guildlines on "dislikes" on the platform , see : https://blog.youtube/news-and-events/update-to-youtube/
I wanted to ask if there is still a way to get the dislike amount on a random video using youtube's api , an example of a random video https://www.youtube.com/watch?v=ThiCMd5kGbE&ab_channel=DigitalE

You will have access until Dec. 13th; after that only the user themselves with an authorized API call will be able to obtain that data for their videos only.

Related

How to retrieve video including paid promotion by YouTube API

We want to retrieve video data including promotions.
Is there a way to get it with the YouTube Data API or the YouTube Analytics API?
Is there any other way?
A video that includes a promotion is a video that displays something like the image below.
Click to move to the following page.
https://support.google.com/youtube/answer/154235
Since you are only interested in knowing whether or not a video (based on its id) includes paid promotion, as far as I know there isn't any official YouTube Data API v3 endpoint answering your question.
However you can check if the video includes paid promotion by checking whether or not the YouTube webpage contains paidContentOverlayRenderer. You can proceed this way for instance:
curl -s https://www.youtube.com/watch?v=VIDEO_ID | grep "paidContentOverlayRenderer"
If something is returned it means that the video includes paid promotion otherwise it doesn't.

Get number of video views from a video tweet

I'm looking for a way to get the number of video views from a video tweet.
With the search/tweets I can get the number of favorites and retweets but not the views. Is it possible?
In the twitter ads api there is a video metric where is possible to get the number of views. The problem is that it requires to be approved through the twitter review process and this api looks more like a way to fully manage the ads of the user.
But I finally found an undocumented api where I can get this information using the same access token used for everything else:
https://api.twitter.com/1.1/videos/tweet/config/{{id-tweet}}.json
Among other things, it returns a track.viewCount field.

how to ensure that a youtube API response only contains videos that are suitable for playback on a mobile device

I am trying to add some youtube videos from my Admin page to database. So that mobile application can make use of them to play.
I want to filter the result from YouTube API link so that i can make sure that whatever videos i add to the database will be able to play on mobile devices like IOS and Android.
I tried
&format=5 and &format=1
but no use.
I also went through Youtube API v2.0 Docs but unable to find the correct way to assign fields parameter to my query string
can anyone guide me to fix this?
What you need is videoEmbeddable and videoSyndicated.
Here's my answer to original question: retrive only mobile-supported video from YouTube API

Youtube API -likes/views along with the time when it is liked/viewed for a video

Can we get the likes/views along with the time when it is liked/viewed of a particular youtube video using Youtube API
Data API won't give that information. You can only access number and person, not the time piece.

Youtube API: no way to get liked videos from user's activity feed

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.

Resources