youtube-data-api

YouTube Data API - How to get “Saved playlists” via API

纵饮孤独 提交于 2019-12-14 01:06:47
问题 I'm trying to get all of my playlists through YouTube Data API including the public playlist that I have created and playlists that I liked from YouTube. The playlists that I have liked from YouTube are in separate section which call "Saved playlists". I'm using https://www.googleapis.com/youtube/v3/playlists?part=snippet&channelId={ChannelID}&maxResults=50&key={YOUR_API_KEY} But I'm getting only the playlist that I have created. How can I get the "Saved playlists"? 回答1: I cannot add a

YouTube liveStreaming API method LiveStream.list doesn't return stream proposed by YouTube

为君一笑 提交于 2019-12-14 00:37:49
问题 I have stumbled upon an unexpected behavior of YouTube liveStream API. Whenever I request liveStream.list method, the only streams I get back are the ones initiated by my encoding software or liveStream.insert calls. What I am trying to retrieve instead is the stream that is proposed by YouTube in the default encoder setup: Am I doing something wrong? 回答1: You can retrieve information about the default, or "Stream Now" broadcast by passing persistent for the broadcastType parameter in

Getting a video's publish date - not upload date

随声附和 提交于 2019-12-13 18:26:29
问题 Using Youtube's Data API V3, I am trying to get the date at which the video was published i.e. the date you see displayed here on the watch page: (source: gyazo.com) Using the API, I have only been able to get the upload date which obviously doesn't get affected by scheduled releases. At first I tried using playlistItems on the user's upload playlist. I soon found out that the published at date was actually the date this item was added to the playlist (which in this cases is the upload date)

YouTube Data API Queries quota limit auto change to 0

久未见 提交于 2019-12-13 18:25:41
问题 My all active projects Queries quota limit auto set to 0. and can not edit it from 0 to more. screenshort First Receive email (Nov 9, 2018) with subject "FYI, YouTube may disable your inactive project(s)" Receive Second Email (Dec 13, 2018) with subject "[Final notice] YouTube may disable your inactive project’s access to YouTube Data API Service" My projects already active. however google send me email notification. after receive second email all api key not working and Queries per day set

android.os.DeadObjectException at com.google.android.youtube.api.jar.client.RemoteEmbeddedPlayer.x

无人久伴 提交于 2019-12-13 13:08:04
问题 I am facing this problem I don't have any scenario it reported as 20 times: I have the youtube jar as the version number is: Manifest-Version : 1.0 Name : com/google/android/youtube/player Specification-Title : YouTube Android Player API Specification-Version : 1.2.2 Specification-Vendor : Google Inc Created-By : 1.8.0-google-v7 (Google Inc.) Fatal Exception: java.lang.IllegalStateException: android.os.DeadObjectException at com.google.android.youtube.api.jar.client.RemoteEmbeddedPlayer.x

Error: Access Denied on IIS using Google Youtube Data API V3 Oauth service

拜拜、爱过 提交于 2019-12-13 07:26:38
问题 I have created a web page (youtubeuploader.aspx) in asp.net to upload Video to youtube channel on button click . The video file location say eg: 'd:\\youtubevdos\\test.3gp'. I have hosted this web application in IIS7 . This page works fine on local machine with proper Oauth2.0 authentication and Video is uploaded to youtube channel . But, it wont work when hosted on web server i mean IIS server It gives error: "Access Denied" Access to path/directory 'App_Data' is denied. UserCredential

How can I get valid Credential for Google service account?

吃可爱长大的小学妹 提交于 2019-12-13 07:18:45
问题 Hi I am developing a web application where end user will be able to upload video, and that video I want to upload in YouTube server using YouTube data API-V3. So that I am using YouTube data API V3 java library But I am unable to run the code, it gives me runtime Exception . Please help me . I am waiting for your valuable responses .. Here is my code import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;

Insert video into someone else's playlist YouTube API v3 results in 403

◇◆丶佛笑我妖孽 提交于 2019-12-13 06:47:19
问题 So I'm trying to insert a video into someone else's playlist (I'm a collaborator). I can insert the video from youtube.com (website), but doing it via the YouTube API V3 gives a 403. Response: { "error": { "errors": [ { "domain": "youtube.playlistItem", "reason": "playlistItemsNotAccessible", "message": "Forbidden" } ], "code": 403, "message": "Forbidden" } } For the playlists that I own, the youtube api works fine. Any clue how I can achieve this? 回答1: The error indicates that the request

Is it possible to do a search for videos updated after date? [YouTube-Data-Api]

坚强是说给别人听的谎言 提交于 2019-12-13 05:31:08
问题 I am wondering if it is possible to get a list of videos that have been updated after a specified date? I am writing an application that helps users manage their videos titles, thumbnails, tags, descriptions, etc. This app really targets content creators that put out episodic content on a set schedule but also includes data of past videos. I am currently able to retrieve videos but I don't want to have to retrieve every video at the start of the application. It's both costly as far as the

Creating a YouTube Video or Channel ID validation in Apps Script

ⅰ亾dé卋堺 提交于 2019-12-13 03:48:06
问题 I am learning how to use the YouTube Data API through Apps Script. I am now trying to modify the example provided here https://developers.google.com/youtube/v3/quickstart/apps-script to verify if the ID exists. I slightly modified it to look at video IDs since that is more common. With help by @Tanaike based on my last question, Tanaike helped me create a loop to allow the script to add IDs as comma-separated. Now I'm trying to add a validation. function channelsListByVideoid(part,params){