youtube-data-api

How can I see all the comments with the Youtube API?

牧云@^-^@ 提交于 2020-01-06 13:21:45
问题 I have a problem in Youtube API Comments. When i access http://gdata.youtube.com/feeds/api/videos/-12_0ZP2p4g/comments , he not show all comments in the video... This is a problem for me, cause i need ALL information and comments. When i access the video ( https://www.youtube.com/watch?v=-12_0ZP2p4g ), i found comments that are not on API. Anybody know why this happens? Tnks ... 回答1: It looks like you are currently using the 2.0 API, this API is deprecated now. Anyway, to achieve what you

Output Videoname and infos correctly after update from youtube data api v2 to v3

ⅰ亾dé卋堺 提交于 2020-01-06 11:36:45
问题 I hope some of you got already experience with this problem. After Update from youtube data api v2 to v3 i got a problem with the output of the thumbnails and names and video durations.I hope there is an easy way, actualy he only gives me an text with undefiened and in the links an Object is showing up. this is the code so far really need some help thanks. // YouTube Data API base URL (JSON response) var url = "https://www.googleapis.com/youtube/v3/search?part=snippet&type=video&maxResults=50

youtube data api and node.js Error: Required parameter: part

試著忘記壹切 提交于 2020-01-05 05:31:09
问题 var fs = require('fs'); var readline = require('readline'); var google = require('googleapis'); var googleAuth = require('google-auth-library'); // If modifying these scopes, delete your previously saved credentials // at ~/.credentials/youtube-nodejs-quickstart.json var SCOPES = ['https://www.googleapis.com/auth/youtube.readonly']; var TOKEN_DIR = (process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE) + '/.credentials/'; var TOKEN_PATH = TOKEN_DIR + 'youtube-nodejs-quickstart

tuber: connect R with Youtube API

a 夏天 提交于 2020-01-05 05:30:07
问题 I'm following the steps from this documentation to access Youtube API from R: Google Developers API and Github. I want to create a shiny app with R to analyse Youtube data: channel subscribers, views, comments .... The steps I follow: I create the project on Google Cloud (Web application) with my Google account. I enable Youtube API data. Installing and loading tuber package in R. I write this code: > yt_oauth("app_id", "app_password") . I show below where I take these two fields. For getting

How to upload one youtube video on another youtube channel with PHP

試著忘記壹切 提交于 2020-01-04 15:30:38
问题 I am trying to implement functionality where user can upload Youtuve video to his youtube channel. from here i find the way how to upload video in youtube channel. and it is working successfully but in video when i try to upload video of youtube channel like $videoName ="https://www.youtube.com/watch?v=AmAmK6HlYAY" than it gives me error An client error occurred: Error calling PUT https://www.googleapis.com/upload/youtube/v3/videos?part=status%2Csnippet&uploadType=resumable&upload_id

YouTube.Channels.List from YouTube API V3 returning only one channel in Android

限于喜欢 提交于 2020-01-04 11:10:14
问题 I am creating an app using YouTube API. Here I want to list all the channel related to an E-mail id so I have written this below code. The problem with this code is that it is returning only one Channel (The default one) but i want a list of all channels. Here is the code: YouTube youTube = new YouTube.Builder(new NetHttpTransport(), new JacksonFactory(), new HttpRequestInitializer() { @Override public void initialize(HttpRequest request) throws IOException {} }).setApplicationName("YouTube")

YouTube V3 API - Google.Apis.Requests.RequestErrorBackend Error [503]

岁酱吖の 提交于 2020-01-03 11:29:09
问题 Backend Error [503]Backend Error [503]Backend Error [503]Backend Error [503] 回答1: Some time ago, maybe a couple of months, the Google upload servers started timing out on uploads much more than they did in the past. That is the error that you are seeing. There is nothing wrong with your code other than the fact that you are probably just reporting the error rather than handling the error. Most likely you are using the .Upload method. I say this because an error 503 returns "A task was

Apps Script keeps asking for offline permission with Youtube's API

北战南征 提交于 2020-01-03 02:12:07
问题 I'm writing a standalone Google Apps Script that will query the Youtube Reports API and return analytics on my videos. When I authenticate in Apps Script with one of the Google+ pages that we use to manage our various Youtube Channels, Apps Script keeps asking me to authorize the script for offline access. When I try the same thing in a new script project with my personal gmail account, everything works fine. There's a problem with doing it this way though. When I query the Youtube.Channels

Error while using part=“…,processingDetails” in a youtube.videos.insert() request

最后都变了- 提交于 2020-01-02 14:13:03
问题 We're developing in java 7 and YouTube Data API v3. When we are calling the upload service with "processingDetails" part, we are getting a 503 Service Unavailable Error. What are we doing wrong? If we remove it, we can upload the video just fine. But we want/need to know about processingDetails. Here is the code: YouTube.Videos.Insert videoInsert = this.youtube.videos().insert("snippet,statistics,status,processingDetails", videoObjectDefiningMetadata, mediaContent); everything else it's the

YouTube Data API v3 - Comment threads request doesn't return all comments

房东的猫 提交于 2020-01-02 08:58:26
问题 For certain videos the call to commentThreads does not return the complete set of toplevelcomments. For example the following call only returns 16 toplevel comments when in fact the video has over 3458 total comments, and the toplevel comments are clearly more than 16. https://www.googleapis.com/youtube/v3/commentThreads?part=snippet&videoId=h_9-3Fj3ZdI&key=[KEY]&maxResults=50 I have run into this issue on a couple of Videos and in both cases the result seems to break on a comment which is in