Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [youtube-data-api]

YouTube Data API used for getting details of YouTube contents like Playlist, Playlistitems and video's details! You need to generate a YouTube Data API Developer Key to access the content available on YouTube Data API.

2814 votes
31 answers
2.1m views

How do I get a YouTube video thumbnail from the YouTube API?

If I have a YouTube video URL, is there any way to use PHP and cURL to get the associated thumbnail from the YouTube API?
CodeOverload's user avatar
130 votes
21 answers
155k views

Google API: Not a valid origin for the client: url has not been whitelisted for client ID "ID"

I need help. I don't found an answer to my question. I tried googling and I tried asking on other sides but I never found an answer. I'm working with the google API (Youtube data API) and I use the ...
DreamGamer's user avatar
  • 1,583
117 votes
8 answers
138k views

How do I get video durations with YouTube API version 3?

I'm using YouTube API v3 to search YouTube. https://developers.google.com/youtube/v3/docs/search As you can see, the response JSON doesn't contains video durations. Is there way to get video ...
Rukshan's user avatar
  • 8,050
103 votes
16 answers
349k views

java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonFactory

I am working on YouTube broadcast sample examples. I have created a sample Java Project & added required jars. But, when I try to run the project it throws exception. Exception : Throwable: com/...
VVB's user avatar
  • 7,561
83 votes
9 answers
88k views

Retrieve all videos from youtube playlist using youtube v3 API

I'm retrieving videos of a playlist using youtube v3 API and getting 50 items without any problem with this link:- https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=50&...
amrinder007's user avatar
  • 1,475
77 votes
5 answers
184k views

Google OAUTH: The redirect URI in the request did not match a registered redirect URI

I am trying to make an upload to YouTube from my Java based web app, I spent a few days to understand what and where is the problem and I cannot get it, for now I am pulling my hair out off my head. ...
Denees's user avatar
  • 9,148
71 votes
13 answers
106k views

Youtube api v3 Get list of user's videos

With Youtube api v2, there's easy way to get videos. Just send a query like this: http://gdata.youtube.com/feeds/mobile/videos?max-results=5&alt=rss&orderby=published&author=...
vietstone's user avatar
  • 8,984
65 votes
8 answers
127k views

cURL error 60: SSL certificate prblm: unable to get local issuer certificate [duplicate]

I want to collect a list of videos uploaded on a specific channel using the YouTube data API. However, before implementing online I am trying to get my code running on an offline environment (...
Sjors Hijgenaar's user avatar
64 votes
3 answers
112k views

How can I calculate my YouTube API usage?

I'm building a pretty large app for a client that is going to aggregate feeds from various sources. My client estimates around 900 follow-able users will be in this system to start out, with more ...
Gordo's user avatar
  • 778
49 votes
4 answers
184k views

How can I get the actual video URL of a YouTube live stream?

Is there a way to get the HLS URL for YouTube live streams like this one https://www.youtube.com/embed/WVZpCdHq3Qg I've tried the typical get_video_info methods but they don't seem to work with live ...
casolorz's user avatar
  • 9,344
49 votes
2 answers
75k views

Youtube subscriber count with Youtube Data Api V3

So previously i was getting a youtube channel subscriber count with youtube data api v2. I used the following (I am using TED channel for demo purposes) http://gdata.youtube.com/feeds/api/users/...
kianmeng's user avatar
  • 527
46 votes
5 answers
61k views

How to get all comments on a YouTube video?

Since Google has deprecated the YouTube v2 API, I cannot find a way to get all the comments from a video. Is it possible to use a single, non-deprecated API (Google+, YT v3) to do that? I am not ...
Paulie's user avatar
  • 1,577
45 votes
5 answers
140k views

YouTube maxresdefault thumbnails

I need to use the maxresdefault version of my YouTube video thumbnails for a website, however upon developing the code to achieve this I have found that not all of my videos have these thumbnails ...
Daniel Keeble's user avatar
36 votes
5 answers
133k views

How to get the mp4 url for Youtube videos using Youtube v3 API

How do I get the full mp4 url to play the video from its actual location in my application using some other source except Youtube. The gdata/youtube API has been deprecated so I am having trouble. Any ...
Lherbeur's user avatar
  • 461
35 votes
1 answer
877 views

How to only find videos that can be played on mobile?

Does YouTube data API still not support this feature? I have been trying to find a way for more than a few months already, and there doesn't seem to be a reliable way to retrieve a list of video that ...
Maximus S's user avatar
  • 11k

15 30 50 per page
1
2 3 4 5
303