youtube-channels

Youtube api get the channels from the Featured channels module

泄露秘密 提交于 2019-12-30 10:32:54
问题 i want to get all the channel from the module Featuring channel of a YouTube channel ,with the API V3 of YouTube I post a picture, you can see what is the module Featuring channel This is the module with all the YouTube channel. I want to get this with the api but i can't find the information in the API. Is it possible ? https://support.google.com/youtube/answer/3027950?hl=en 回答1: There isn't option to grab the featured channel on the youtube api V3. I think we also need to wait an update of

how to check if selected account is YouTube channel

烂漫一生 提交于 2019-12-25 01:53:53
问题 In my web app, I have to ask the users for permission to access their YouTube channels. The authentication url is something like this: "https://accounts.google.com/o/oauth2/auth?client_id=myClientId&redirect_uri=http://my.redirect.uri&scope=https://www.googleapis.com/auth/youtube.readonly&response_type=code&access_type=offline&approval_prompt=force" This URL prompts the user to choose a YouTube channel. But in the channel list, the Google/YouTube account also appears. This account isn't

YouTube API v3 videoCategory v.s. guideCategory

我怕爱的太早我们不能终老 提交于 2019-12-24 21:17:42
问题 The YouTube API v3 can return the videoCategory of a video. For example, if you make the following request: www.googleapis.com/youtube/v3/videos?id=ZCJgvabihQ8&key=apiKey&part=snippet,recordingDetails You will find that the video with id ZCJgvabihQ8 belongs to Category 24. But how can I get the guideCategory id instead of the videoCategory id? 回答1: from the Doc https://developers.google.com/youtube/v3/docs/guideCategories A guideCategory resource identifies a category that YouTube

How to get share count of a youtube video using youtube api?

淺唱寂寞╮ 提交于 2019-12-23 02:16:13
问题 I'm using youtube to retrive some data on a youtube channel (title, id, keywords, lenght, publication-date, ...) I want to know how to get the share count of each video in this channel. I want to build a "top 10 most shared video" of a specific channel. 回答1: Have a look at the YouTube Analytics API: https://developers.google.com/youtube/analytics/ There is a metric for retrieving the share count ( shares ). Use dimensions ( dimensions=video&metric=shares ). Alternatively, use filters if you

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

Youtube Data API retrieve channel subscribers count for past dates

半城伤御伤魂 提交于 2019-12-12 00:24:28
问题 i know that we can pull the current number of subscribers for a youtube channel using the data API, but is there a way to pull the subscribers we had in the past? for example 7 days back? Thanks! 回答1: There is no built in way to do a historic look at your subscribers. What you could do is retrieve your list of subscribers on a given date, and persist it yourself somewhere. Then do it again next week and compare it. The API returns a JSON response & the look up would look like this: https:/

How to handle youtube deleted videos using youtube api from json request

元气小坏坏 提交于 2019-12-11 23:16:30
问题 I want to get youtube videos from youtube api using json request. Now i get videos from youtube using json. Example the url have some deleted videos (http://www.youtube.com/watch?v=MlOHWLqgcoY&list=PLD62D6701B15FD3E1) but i get only playing videos not deleted videos. Is it possible or any other way to handle youtube deleted videos using json results. This is my code to get youtube videos string getPlaylistVideoUrl = https://gdata.youtube.com/feeds/api/playlists/PLD62D6701B15FD3E1?v=2

How can I get a list of videos available from a particular YouTube channel?

…衆ロ難τιáo~ 提交于 2019-12-11 09:56:52
问题 How can I get a list of videos available from a particular YouTube channel, using the API? 回答1: Basically every youtube channels has three section: Uploads, Playlist, Liked Videos. Had done some work with the playlist of a channels. Used youtube api version 3.Sharing my code: First get the Playlists from a channel: private void getPlayList() { YouTube.Playlists.List playLists; try { playLists = youtube.playlists().list("id,status,snippet");//youtube is the Youtube object, already initialised

Getting All Channels using Youtube data api v3

China☆狼群 提交于 2019-12-11 01:45:55
问题 I am trying to get all the channels of user via using Youtube data api v3 in android, i am using Channels: list https://developers.google.com/youtube/v3/docs/channels/list#http-request get the all channels , public static void getChannelID(YouTube youtube){ try { Log.i(MainActivity.APP_NAME, "Requesting ChannelID."); com.google.api.services.youtube.YouTube.Channels.List Channel = youtube.channels().list("id,snippet,contentDetails"); Channel.setMine(true); // In the API response, only include

Getting YouTube channel profile picture with channelId

◇◆丶佛笑我妖孽 提交于 2019-12-09 05:29:58
问题 So I'm trying to get the channel profile picture for a YouTube channel by using the channelId. I would like to do it simply by adding the channelId to a URL and get the image that way. Facebook has something similar where you use this URL: http://graph.facebook.com/user_id/picture?type=square Google+ has it too, found this question here. Sadly it didn't work for YouTube (I couldn't get it to work) Hope someone has a solution! Thanks in advance :) 回答1: You can use channels->list request for