youtube-data-api

Insert a comment using the YouTube API and Alamofire

馋奶兔 提交于 2019-12-22 05:18:15
问题 Thanks for taking the time to read this. I'm confused on how to insert a comment using the YouTube API. I'm fairly new to using APIs, so I don't quite get what they are saying to do in their documentation. I've authenticated the user using Google Sign-In for iOS with the scope "https://www.googleapis.com/auth/youtube.force-ssl" which is required to insert a comment. But now, I have to actually insert the comment and (like I've said) I don't understand how to do that because I have to provide

Youtube oAuth promts authorization window every time I make request

别来无恙 提交于 2019-12-22 05:15:23
问题 Here is my work flow for getting access token and refresh token for youtube api. Im generating authorization url with parameters access_type=offline, response_type=code, redirect_uri=uri, scope=scopes, state=state, client_id=id from authorization url I´m receiving authentication code, then I´m generating another url to get access_token and refresh_token using code from authorization url with these parameters code: code, client_id: CLIENT_ID, client_secret: CLIENT_SECRET, redirect_uri:

Disable autoplay in youtube javascript api

自闭症网瘾萝莉.ら 提交于 2019-12-22 02:20:55
问题 I know about using autoplay : 0 in params and in url. The problem is when I use the loadVideoByID() function. THe initial video seems to always not autostart. but the moment I load in new video that new one autostarts. I dont want that new one to autostart either $(document).ready(function() { var player; window.onYouTubePlayerAPIReady = function() { player = new YT.Player('player', { height : '390', width : '640', videoId : 'JW5meKfy3fY', playerVars : { 'autoplay' : 0, 'rel' : 0, 'showinfo'

PHP: YouTube v3 API Captions Upload with Sync Flag

笑着哭i 提交于 2019-12-22 01:44:20
问题 For the past couple weeks my co workers and me have been working on trying to get captions on our clients YouTube video's through the v3 API. After about week we were finally able to get the captions to upload just fine but, YouTube would give us this message in the UI "Track content is not processed" and doesn't display the caption's that we upload. However, we can download the original format that was upload; so we know the file was uploaded successfully. We also were able to get the sync

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

我与影子孤独终老i 提交于 2019-12-21 12:10:49
问题 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 ago. I now tried to run unedited example code (apart from adjusting the CLIENT_ID, of course), and I am getting exactly the same error: { "domain": "usageLimits", "reason": "accessNotConfigured", "message": "Access Not Configured. YouTube Data API

How to get refreshToken when using GoogleAuthUtil

吃可爱长大的小学妹 提交于 2019-12-21 12:10:10
问题 I'm using GoogleAuthUtil in Google Play Services on Android. After calling GoogleAuthUtil.getToken(context, userName, scope) , I got a token like this: ya29.wQBWztab5kcgMLcMbAI0LwFzHC_DPrxauSWbX4P6KOnBEOgjcm9V7OI9AFr6JGxDY54gP00RemzzgML56_gWRHn8Q5jK16BLY-0y83Gc5vfe3xN-QpyM4d7z This is an access_token, which can be used in calling Google Apis. Then, how can I get a refresh token to refresh this access_token, because I also use Google oauth java library and YouTube Java Library in my Android

YouTubeAndroidPlayerAPI can't play some videos

喜夏-厌秋 提交于 2019-12-21 03:48:18
问题 -- 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 same day have the issue discussed, as if between 19 and 21 of April 27 had been introduced a few updates or changes to the videos by YouTube. I tried to load a new video now and this also has the same problem. I have a strange problem with

Youtube Data API is returning invalid data

冷暖自知 提交于 2019-12-20 06:36:39
问题 I'm not really sure how to ask this, but I have a php script that pulls data from the youtube-v3-api for my youtube channel, mainly a list of videos that I have published. It's been working great up until earlier today when I went to run it again because I added a new video. Here's the output for the first object in the items array items:[ { kind:"youtube#searchResult", etag:"" XpPGQXPnxQJhLgs6enD_n8JR4Qk/tluoWYe5GE9lVFAkcMtcec2Ycug"", id:{ kind:"youtube#channel", channelId:

YouTube Data API daily quota reduced to 0

人走茶凉 提交于 2019-12-20 05:15:56
问题 For some reason, I started getting 403 errors on my app(in development), the errors message was Access Not Configured. YouTube Data API has not been used in project XXXXXXXX.... This is weird because I was using the API for the last month or so with the same project, and didn't do any changes. After looking in the project settings I noticed that the daily quota was reduced to 0. The only thing concerning the API that I did was to request a quota increase in order to keep developing(The

GTLServiceYouTube executeQuery callback not called

允我心安 提交于 2019-12-20 04:38:41
问题 GTLServiceYouTube executeQuery callback not called when I execute it in background thread.Video wont get uploaded. It works fine when I execute it in main thread.I get callbacks and video is also uploaded. I can solve this by forcing executeQuery to run in main thread but that affects the UI performance. How can I solve this issue? My code goes like this , self.uploadFileTicket = [service executeQuery:query completionHandler:^(GTLServiceTicket *ticket, GTLYouTubeVideo *uploadedVideo, NSError