youtube-data-api

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

大兔子大兔子 提交于 2019-12-18 15:19:15
问题 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 mine=true . 回答1: Update As of Sep 12 2016, watch later and watch history can no longer be retrieved YouTube Data API v3. Original answer (no longer works) You can get the IDs of you special private playlists with an authenticated request to GET https:

How to upload Video to youtube using Google.Apis.YouTube.v3 and C#?

落爺英雄遲暮 提交于 2019-12-18 14:48:28
问题 I have created console application using C# . Which will upload Video from local drive to youtube . I have created new app in google api using this link. I have also installed all required packages using nuget . When I run my application I am getting error as " Access Denied " I am not able to find the issue. I am getting error in Task Run() method. using System; using System.IO; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Google.Apis.Auth.OAuth2;

Error: “message”: “Login Required” when use Youtube Analytics API

寵の児 提交于 2019-12-18 14:47:30
问题 I am working with youtube api. when I hit this url " https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3DMINE&start-date=2015-01-01&end-date=2016-01-31&metrics=likes%2Cdislikes&key={API Key} " it gives 401 { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Login Required", "locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Login Required" } } but I hited in the explorer "https://developers.google.com/apis

Access Not Configured. YouTube Data API has not been used in project 608941808256

守給你的承諾、 提交于 2019-12-18 12:23:37
问题 I have enabled YouTube data API and Google+ API for my project and change the Android API Key in Auth.java I also entered my playlist info into Constants.java. However I still get this unhelpful error: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code": 403, "errors": [ { "domain": "usageLimits", "message": "Access Not Configured. YouTube Data API has not been used in project 608941808256 before or it is disabled. Enable it by visiting https://console

YouTube maxresdefault thumbnails

混江龙づ霸主 提交于 2019-12-18 12:05:50
问题 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 available, despite the videos all being 1080p. Is there a way to automatically generate new high-res thumbnails for all of my videos? 回答1: You can use YouTube Data API to retrieve video thumbnails, caption, description, rating, statistics and more. With the YouTube Data API, you can add a variety of

Error: restricted_client when authorization Youtube API V3

时光怂恿深爱的人放手 提交于 2019-12-18 11:59:43
问题 I got this error when I create new client secret in new project. That’s an error. Error: restricted_client Unregistered scope(s) in the request: https://www.googleapis.com/auth/youtube.readonly Request Details access_type=offline response_type=code client_id=487794563386-mujtj6b5iatnmvdailldn468gg028p8g.apps.googleusercontent.com redirect_uri=http://localhost:61515/authorize/ scope=https://www.googleapis.com/auth/youtube.readonly That’s all we know. How could I fix that ? 回答1: 403 errors are

YouTube API V3 not returning “statistics” part for /videos endpoint

£可爱£侵袭症+ 提交于 2019-12-18 11:33:36
问题 I stopped getting "statistics" part, from 06-April-2017, It was working perfectly fine and now for several videos I am not getting "statistics" part. when I make this call, https://www.googleapis.com/youtube/v3/videos?part=statistics&key=validKey&id=3cxixDgHUYw FYI, I also tried getting "statistics" part from here, but not receiveing it. https://developers.google.com/youtube/v3/docs/videos/list 回答1: Same issue as well, someone has opened up an issue at Google's issue tracker here 来源: https:/

Youtube API v3 shows “Access Not Configured”

不羁岁月 提交于 2019-12-18 07:42:26
问题 I created a Google application in the developers console, turned on "YouTube Data API v3", generated the server API key, and authorized my home and work IPs. My website lists all videos from a Youtube channel, using the V3 API. It uses the official PHP library, passing it the server API key. It all worked well yesterday from home, and today morning from work. Then, it suddently stoped working at 11am (GMT+1), with no action from my part, with this error: [Google_Service_Exception] Error

Get youtube trends v3 country wise in Json?

喜夏-厌秋 提交于 2019-12-17 23:30:12
问题 How to get youtube trends of most popular or most viewed by country wise in Json. Previously using youtube feeds v2. It seems deprecated, https://gdata.youtube.com/feeds/api/standardfeeds/IN/most_popular?v=2 Can I get youtube api v3 or any other result like the trends dashboard, https://www.youtube.com/trendsdashboard 回答1: As per YouTube guidelines, YouTube Feeds v2, is now deprecated. You should work with YouTube Data API v3. For the most popular video: https://www.googleapis.com/youtube/v3

How to get all comments on a YouTube video?

二次信任 提交于 2019-12-17 23:29:20
问题 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 concerned about maintaining threading. 回答1: Believe me it works https://www.googleapis.com/youtube/v3/commentThreads?key=******************&textFormat=plainText&part=snippet&videoId=kffacxfA7G4&maxResults=50 Key will be provided by the google developer console and 50 denotes 50 comments in form of a