youtube-channels

How to get the Channel Type or Category of each YouTube channel using YouTube API?

好久不见. 提交于 2021-02-10 19:47:59
问题 I am new to using the YouTube API. I am trying to get the Channel Category of each channel, but I don't know how to make a request to get the category. I will give an example: http://socialblade.com/youtube/user/pewdiepie As you can see on the Socialblade statistic of pewdiepie there is a "CHANNEL TYPE" above and the channel type or category of pewdiepie is "Games" but how did Socialblade request for that? I hope you can help me. Thank you. 回答1: Well the v3 API doesn't have a category for

Get list of video from a youtube channel

跟風遠走 提交于 2021-01-23 09:40:50
问题 I'm using these apis https://developers.google.com/youtube/ and I can't figure out how, given a youtube channel address, get the video list with related infos (single video url and title, at least) 回答1: It's a bit convoluted, but can be done relatively painlessly. The trick is in knowing that a channel is really just a list of videos uploaded by a particular user. So if, when you say you have a youtube channel address, that address takes the form of: http://www.youtube.com/user/[username]

Get list of video from a youtube channel

☆樱花仙子☆ 提交于 2021-01-23 09:38:32
问题 I'm using these apis https://developers.google.com/youtube/ and I can't figure out how, given a youtube channel address, get the video list with related infos (single video url and title, at least) 回答1: It's a bit convoluted, but can be done relatively painlessly. The trick is in knowing that a channel is really just a list of videos uploaded by a particular user. So if, when you say you have a youtube channel address, that address takes the form of: http://www.youtube.com/user/[username]

Youtube api v3 cannot retrieve all videos from a channel

淺唱寂寞╮ 提交于 2020-01-23 13:26:44
问题 I am trying to use youtube data api to get all videos from a channel. But it didn't work for a particular channel. (It works for several other channels.) As you can see from the screenshot, this channel has 135 videos. However, I used playlistitems and search api, as below. They only return 9 videos. What is the problem here? Thanks. GET https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=50&playlistId=UUhTMiw43iw4w-ggOEXmPtfg&key={YOUR_API_KEY} GET https://www

How do I embed YouTube video channel in a web page?

∥☆過路亽.° 提交于 2020-01-14 02:40:33
问题 I have just integrated the below YouTube embedded code <param name="movie" value="http://www.youtube.com/....."> </param> <param name="wmode" value="transparent"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/....." type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="560" height="340"></embed> </object> But I also want to list

Does the Youtube API return list of users that have watched my video?

六眼飞鱼酱① 提交于 2020-01-13 19:54:07
问题 I'd like to create a Youtube app that rewards users after they have watched a certain number of my Youtube-channel's videos - or that rewards "experience points" based on the amount of time spent watching my channel. Can I query the Youtube API to see if an authenticated user has watched a specific video associated with the app? Seems like I can query against "likes" and "dislikes" - but curious if anyone has tracked "watch-time" or just "watched" in general. My hesitation here is that I don

Does the Youtube API return list of users that have watched my video?

风格不统一 提交于 2020-01-13 19:54:06
问题 I'd like to create a Youtube app that rewards users after they have watched a certain number of my Youtube-channel's videos - or that rewards "experience points" based on the amount of time spent watching my channel. Can I query the Youtube API to see if an authenticated user has watched a specific video associated with the app? Seems like I can query against "likes" and "dislikes" - but curious if anyone has tracked "watch-time" or just "watched" in general. My hesitation here is that I don

How to search content across multiple channel in youtube api?

不打扰是莪最后的温柔 提交于 2020-01-13 08:39:09
问题 I want to search youtube videos in a list of channels. In the code below, I am able to pass only one "Channelid" to the youtube api. Is there a way to pass multiple channel Ids ?? def youtube_search(options): youtube = build(YOUTUBE_API_SERVICE_NAME, YOUTUBE_API_VERSION, developerKey=DEVELOPER_KEY) # Call the search.list method to retrieve results matching the specified # query term. search_response = youtube.search().list( q=options.q, part="id,snippet", maxResults=options.max_results,

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

How to launch Youtube application to open a channel?

空扰寡人 提交于 2020-01-01 02:50:10
问题 I want to access from my application to youtube to open a channel. I've searched for a solution but i just found how to open/stream a video : Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube:VIDEO_ID")); startActivity(i); But what about opening directly a channel? Thank you very much. 回答1: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse(urlStr)); startActivity(intent); if you use the url of a youtube channel such as: http://www.youtube.com/user