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.

YouTube Data API

The tag is generalized version of tag.

References

4420 questions
12
votes
2 answers

Returning duration while listing playlistItems?

I'm using this url: https://www.googleapis.com/youtube/v3/playlistItems? playlistId=FLFe0SGNFqZ9E2owO5ZDZpeg& part=snippet,contentDetails,status to fetch YouTube playlistItems. I included all the part I'm interested in, however I found no…
John Smith
  • 1,726
  • 2
  • 18
  • 30
11
votes
4 answers

YouTube Data API returns "Access Not Configured" error, although it is enabled

My internally used web solution to retrieve YouTube video statistics that is based on this example (https://developers.google.com/youtube/v3/quickstart/js) now fails to work. Not sure when exactly it happened, but it used to work couple of months…
Passiday
  • 7,573
  • 8
  • 42
  • 61
11
votes
1 answer

Youtube API higher quota (form) : response time and price

my team uses the Youtube API for a 2 week contest, where participants have to send a video. We want these videos to be hosted on Youtube, only for 3 or 4 weeks. However, according to the Youtube's API Documentation and the Quota Calculator : A…
Victor
  • 113
  • 1
  • 6
11
votes
2 answers

PHP - Getting Channel ID after OAuth - YouTube API

Firstly, this question may sound like a duplicate but from the answers I've already seen I think the answers don't correctly fit this purpose because I do not have permission. I'm trying to find a YouTube channel ID after they authorize their Google…
ConorReidd
  • 276
  • 5
  • 25
11
votes
2 answers

Not being able to choose the right channel when using OAuth 2.0 for Web Server Applications flow

My app follows the server side authorization flow as described in https://developers.google.com/youtube/v3/guides/auth/server-side-web-apps. I force prompt=select_account. In the most basic case, on "Step 3: Google prompts user for consent", the…
Leo Lännenmäki
  • 2,720
  • 1
  • 16
  • 13
11
votes
2 answers

Youtube video uploads rejected before API quota limit reached

The API quota for my project was successfully increased to 4M through the application process. This is confirmed in the details for the quota via the Google Developer console quota page for the enabled API. Videos are, however, being rejected with…
Rich Ross
  • 167
  • 1
  • 6
11
votes
1 answer

YouTubeAndroidPlayerAPI can't play some videos

-- Update 09/05/2016 17:10 -- The problem seems related to the date of publication of the video... In the last week of April I posted many videos on YouTube, those published up to 19:00 of April 27 work properly, while those charged by 21:15 on the…
11
votes
3 answers

Youtube API get unlisted videos

for a project i have to list all videos from a youtube user account. I'm getting all public videos, but when i make an api call after oauth i still get only public videos. Unlisted videos are videos that are hidden from search engine and user public…
Bounews
  • 121
  • 1
  • 1
  • 5
11
votes
0 answers

How do I mark a video as watched with Youtube API v3?

I have a C# program I wrote using the Youtube API V3 that manages my channel's videos. I already have all the OAuth 2.0 stuff sorted out and I'm looking for a way to tell Youtube that the authenticated account watched the video. The reason being…
Avi Sasson
  • 666
  • 7
  • 22
11
votes
3 answers

Access Not Configured Android Google API Key

I am trying to use Youtube Data API v3 to search on android, though when I try to search using my API key i always get this message: { "error": { "errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured", "message":…
11
votes
1 answer

Is there a way to get the "Watch Later" playlist using YouTube API v3?

I was wondering if this is available in v3 (I know it's possible with v2)? I've tried using watch_later as the id and mine=true in a playlist request. The watch_later playlist is not returned in the generic playlists list results when specifying…
user74826
  • 111
  • 1
  • 5
10
votes
1 answer

YouTube API Quotas, please explain. Quota exceeded. How to solve?

Can someone please explain me in simple language how these quotas work? I know where is a similar question, but I want an explanation related to the screenshot below. First, I opened the quotas page in Google Dev Console for YouTube API. But I don't…
monstro
  • 6,254
  • 10
  • 65
  • 111
10
votes
2 answers

Using Youtube Data API makes my videos private on upload

I've just made an "app" that uploads videos in a given folder, the program works, however whenever I upload a video through my program, it makes the video private (locked). I then get a mail saying that my program has not yet been approved. I have…
wardz
  • 349
  • 2
  • 10
10
votes
2 answers

YouTube Data API: The request cannot be completed because you have exceeded your quota, INSUFFICIENT_TOKENS

The problem occurred when I was using a Python program to upload videos to YouTube. I did not use it to upload for many days before this happened so it should not exceed the quota. I tried many times and it had the same error. The following is the…
Patent 2018
  • 113
  • 1
  • 1
  • 4
10
votes
3 answers

Are there any security concerns with sharing the client secrets of a Google API project?

I'm working on a project using the YouTube Data API. The Python script I'm running uses a client secrets JSON file, which I presume is for verifying the account owner. If I am having issues with it and need assistance, are there any security…
James Huang
  • 848
  • 1
  • 7
  • 35