youtube-data-api

Access YouTube brand account using GoogleSignInApi

陌路散爱 提交于 2021-02-19 23:32:49
问题 I am following this guide: https://developers.google.com/identity/sign-in/android/ Which prompts me for my Google user and I login ok, I can access the youtube data api. However I want it to prompt me to choose my linked brand account instead. Is this possible? I had it working from a nodejs app but it doesn't seem supported in this case. 回答1: Turns out you can't. Just not supported at this time. Instead you need to go via https://github.com/openid/AppAuth-Android/ using just the youtube

Access YouTube brand account using GoogleSignInApi

丶灬走出姿态 提交于 2021-02-19 23:31:50
问题 I am following this guide: https://developers.google.com/identity/sign-in/android/ Which prompts me for my Google user and I login ok, I can access the youtube data api. However I want it to prompt me to choose my linked brand account instead. Is this possible? I had it working from a nodejs app but it doesn't seem supported in this case. 回答1: Turns out you can't. Just not supported at this time. Instead you need to go via https://github.com/openid/AppAuth-Android/ using just the youtube

Access YouTube brand account using GoogleSignInApi

半城伤御伤魂 提交于 2021-02-19 23:28:36
问题 I am following this guide: https://developers.google.com/identity/sign-in/android/ Which prompts me for my Google user and I login ok, I can access the youtube data api. However I want it to prompt me to choose my linked brand account instead. Is this possible? I had it working from a nodejs app but it doesn't seem supported in this case. 回答1: Turns out you can't. Just not supported at this time. Instead you need to go via https://github.com/openid/AppAuth-Android/ using just the youtube

Use the YouTube API to check if a video is embeddable

时光怂恿深爱的人放手 提交于 2021-02-19 05:10:12
问题 I'm trying to figure out if a YouTube video is embeddable using the YouTube Data API v3, from answers to similar questions I noticed the status.embeddable property of videos, for a request like this: https://www.googleapis.com/youtube/v3/videos?id=63flkf3S1bE&part=contentDetails,status&key={MY_API_KEY} The response is the following { "kind": "youtube#videoListResponse", "etag": "\"ksCrgYQhtFrXgbHAhi9Fo5t0C2I/ctZQYtBcOuMdnQXh8-Fv1EbS_VA\"", "pageInfo": { "totalResults": 1, "resultsPerPage": 1

I am getting “dailyLimitExceeded” errors with barely 300 total requests

社会主义新天地 提交于 2021-02-17 06:55:31
问题 I am getting "dailyLimitExceeded" errors with barely 300 total requests... I created this api project a few hours ago and everything was working fine at the beginning until I hit about 200 requests and from there every request failed this is the type of request I am currently trying https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId={{channel_id}}&maxResults=25&key={{api_key}} What am I missing? Why was my API key locked so quickly? Thank you! 回答1: The Search

YouTube Data API: How unique is PlaylistItem ID?

醉酒当歌 提交于 2021-02-11 14:47:11
问题 Is there a real unique ID for a Video on a YouTube playlist? YouTube offers a playlistItem.id and tells us that this ID is... The ID that YouTube uses to uniquely identify the playlist item What I've found out is that this ID is the ID of the Position of a PlaylistItem within a Playlist. If you delete your one and only video on a playlist and you put another video on your playlist, then this new video will have the same PlaylistItem.id. Any recommendations how to fake a real unique ID? 回答1: I

Youtube API V3 ETag support fail: content not change but etag change

久未见 提交于 2021-02-11 14:17:29
问题 I send a "playlistItems" request with this headers: array(5) { [0]=> string(29) "Content-Type:application/json" [1]=> string(153) "Authorization:Bearer [hidden]" [2]=> string(33) "X-JavaScript-User-Agent:Automator" [3]=> string(66) "If-Match:"Bdx4f4ps3xCOOo1WZ91nTLkRZ_c/AtpZMDGfwUXtVHbcH_1spJYn8eg"" [4]=> string(71) "If-None-Match:"Bdx4f4ps3xCOOo1WZ91nTLkRZ_c/AtpZMDGfwUXtVHbcH_1spJYn8eg"" } The url is: https://www.googleapis.com/youtube/v3/playlistItems?part=id%2Csnippet&playlistId=UUvmF_tzu

How to upload video to youtube using google api. Without libraries

China☆狼群 提交于 2021-02-11 13:22:43
问题 I don't want to use libraries for this, I just want to send REST request to the API. Here is API reference for uploading videos. I don't see anywhere in the documentation where to put a video file. Should it be in the header or request body? Does anyone know how this HTTP request should look like? 回答1: Here is the official documentation of the Resumable Upload Protocol, which is used by all of Google's public (open source) libraries. I personally would not recommend you to implement resumable

How to upload video to youtube using google api. Without libraries

丶灬走出姿态 提交于 2021-02-11 13:22:12
问题 I don't want to use libraries for this, I just want to send REST request to the API. Here is API reference for uploading videos. I don't see anywhere in the documentation where to put a video file. Should it be in the header or request body? Does anyone know how this HTTP request should look like? 回答1: Here is the official documentation of the Resumable Upload Protocol, which is used by all of Google's public (open source) libraries. I personally would not recommend you to implement resumable

User email by channel ID

佐手、 提交于 2021-02-11 13:10:11
问题 Is there a way to get the email of a user having their channel ID? In this example, I am trying to get the email of the user who left a comment under a video, but there is only the channel ID. "authorChannelId": { "value": "UCNLNkYTttHytlMhVXP5skhA" }, 回答1: As far as I know, unfortunately it's not possible to obtain an user's email address. That info is private data attached to any given YouTube's account. 来源: https://stackoverflow.com/questions/63850665/user-email-by-channel-id