youtube-data-api

Get comments thread for a YouTube video using api v3.0

帅比萌擦擦* 提交于 2019-12-24 03:53:20
问题 I'm trying to use the .net YouTube API v.3.0 to retrieve the comments thread. I'm basically trying to reuse the sample for Java, but when I try to authorize with my client secrets I do not get any scope with my token (it is set to null when I inspect the credential variable). Here is the code I literally took from .net example: credential = await GoogleWebAuthorizationBroker.AuthorizeAsync( GoogleClientSecrets.Load(stream).Secrets, new[] { YouTubeService.Scope.YoutubeForceSsl}, "user",

Get comments thread for a YouTube video using api v3.0

六眼飞鱼酱① 提交于 2019-12-24 03:53:06
问题 I'm trying to use the .net YouTube API v.3.0 to retrieve the comments thread. I'm basically trying to reuse the sample for Java, but when I try to authorize with my client secrets I do not get any scope with my token (it is set to null when I inspect the credential variable). Here is the code I literally took from .net example: credential = await GoogleWebAuthorizationBroker.AuthorizeAsync( GoogleClientSecrets.Load(stream).Secrets, new[] { YouTubeService.Scope.YoutubeForceSsl}, "user",

Record how far into a video a user hits the pause button

一个人想着一个人 提交于 2019-12-24 00:43:04
问题 I'm beginning to write a web app that will allow users to annotate embedded YouTube videos with certain events. I'd like the user to be able to pause the video, pull up a menu of candidate events (say, as a modal), and save the selected event along with the associated time in the video that the event occurred to a database. I don't know how to retrieve the time at which the pause button was pressed. I'm assuming that the YouTube API would be the place to go for this, but I've spent about two

Searching 360 degree videos using YouTube Data API?

放肆的年华 提交于 2019-12-24 00:35:59
问题 I'm trying to find 360 degree video from YouTube using YouTube Data API. I'm using search keywords such as 360, VR .... However, there are none-360-degree video in the search results. How can I find whether a video is 360 degree format or not? Moreover, Is there more efficient way to find all 360 degree videos from YouTube? 来源: https://stackoverflow.com/questions/36977585/searching-360-degree-videos-using-youtube-data-api

Youtube API v3 return 401 when i try to upload video

元气小坏坏 提交于 2019-12-24 00:19:41
问题 I use ServiceAccount uploader for youtube. I use Youtube API v3. I have simple console application, that upload video to youtube String serviceAccountEmail = "..."; var certificate = new X509Certificate2(@"G:\Youtube\1ffd6ea22be7c41e0852935a0f35438e4beb2e2d-privatekey.p12", "notasecret", X509KeyStorageFlags.Exportable); //, YouTubeService.Scope.YoutubeUpload ServiceAccountCredential credential = new ServiceAccountCredential( new ServiceAccountCredential.Initializer(serviceAccountEmail) {

Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup

大兔子大兔子 提交于 2019-12-23 18:11:24
问题 I am trying to fetch video details using YouTube Data API v3 in my android app. Now I am getting the following error even though I am using an API Key. How can I resolve it? 06-19 17:50:58.280: E/There was a service error:(16968): com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden 06-19 17:50:58.280: E/There was a service error:(16968): { 06-19 17:50:58.280: E/There was a service error:(16968): "code" : 403, 06-19 17:50:58.280: E/There was a service error:(16968)

Youtube API: Comment Insert 403 forbidden insufficient permissions

情到浓时终转凉″ 提交于 2019-12-23 17:18:05
问题 I'm using the API explorer at the bottom of https://developers.google.com/youtube/v3/docs/commentThreads/insert to test this call. I am requesting the scope https://www.googleapis.com/auth/youtube.force-ssl. Appreciate any help! REQUEST: POST https://www.googleapis.com/youtube/v3/commentThreads?part=id%2Csnippet&fields=id&key={YOUR_API_KEY} { "snippet": { "topLevelComment": { "snippet": { "textOriginal": "comment from gdev" } }, "videoId": "B5BypNLbBgQ", "channelId": "UCNqqFgLtbSjc9Er7XFv4wbA

Youtube Data Subscription API V3 not returning NextPage when submitted with mySubscribers

走远了吗. 提交于 2019-12-23 15:53:14
问题 I am not getting "nextPageToken" in the response object when I tried to retrieve list of users who subscribed to our channels using YT Data API (v3) Subscription. For some reason YT not returning "nextPageToken" even though below channel has more than 100K subscribers so could you please advise me on how to be able to fetch next pages of subscribers. Same behavior happening when I tried with any of channels from our CMS account: Request: https://www.googleapis.com/youtube/v3/subscriptions

Youtube Video is not Displaying in RecyclerView

非 Y 不嫁゛ 提交于 2019-12-23 08:44:02
问题 I am facing issue where youtube video is not displaying only last one is getting played and that too when I scroll the video disappears. What i wanted is every video should be displayed and every video is different. public class MyRecyclerViewAdapter extends Adapter<MyRecyclerViewAdapter .DataObjectHolder> { private static String LOG_TAG = "MyRecyclerViewAdapter"; private ArrayList<DataObject> mDataset; private static MyClickListener myClickListener; private static final int RECOVERY_DIALOG

YouTube upload file give me ArgumentNullException (C#)

百般思念 提交于 2019-12-23 06:32:22
问题 I am using Google "Client Library for .NET" for YouTube service. And when i try to upload video i got Error.(System.ArgumentNullException) from my [Videos.Insert] request. ArgumentNullException: Value cannot be null. Parameter name: baseUri Stack: в Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) в Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) в Microsoft.Runtime