Is there a partner.readonly scope?
I'm interested in verifying channel ownership for content owners and am not sure how to do that without the partner scope.
Unfortunately, partner scope provides far more permissions (aka management) than I am interested in getting. It also gives more permissions than creators are willing to consent to.
This is the consent message I would like to modify. I'm only interested in viewing info:
View and manage your assets and associated content on YouTube
There is currently no partner.readonly scope.
The only scopes that are available at the moment are the ones that can be seen here (which you probably already know):
YouTube Data API, v3
Scopes
https://www.googleapis.com/auth/youtube Manage your YouTube account
https://www.googleapis.com/auth/youtube.force-ssl Manage your YouTube account
https://www.googleapis.com/auth/youtube.readonly View your YouTube account
https://www.googleapis.com/auth/youtube.upload Manage your YouTube videos
https://www.googleapis.com/auth/youtubepartner View and manage your assets and associated content on YouTube
https://www.googleapis.com/auth/youtubepartner-channel-audit View private information of your YouTube channel relevant during the audit process with a YouTube partner
YouTube Analytics API, v1
Scopes
https://www.googleapis.com/auth/youtube Manage your YouTube account
https://www.googleapis.com/auth/youtube.readonly View your YouTube account
https://www.googleapis.com/auth/youtubepartner View and manage your assets and associated content on YouTube
https://www.googleapis.com/auth/yt-analytics-monetary.readonly View monetary and non-monetary YouTube Analytics reports for your YouTube content
https://www.googleapis.com/auth/yt-analytics.readonly View YouTube Analytics reports for your YouTube content
YouTube Reporting API, v1
Scopes
https://www.googleapis.com/auth/yt-analytics-monetary.readonly View monetary and non-monetary YouTube Analytics reports for your YouTube content
https://www.googleapis.com/auth/yt-analytics.readonly View YouTube Analytics reports for your YouTube content
Related
The API Explorer returns 403 forbidden with fetchMine=True https://developers.google.com/youtube/partner/docs/v1/contentOwners/list
Used Google OAuth 2.0 and API key. Is it compulsory to be a a partner to gain access to the data?
directly from the documentation page.
ContentOwners: list
Note: The YouTube Content ID API is intended for use by YouTube content partners and is not accessible to all developers or to all YouTube users. If you do not see the YouTube Content ID API as one of the services listed in the Google API Console, see the YouTube Help Center to learn more about the YouTube Partner Program.
answer
you need to be a YouTube partner to access this method.
I’ve been doing some research on the YouTube Content ID api and researching about making claims, there is a “manual claim” property, but it’s noted as restricted with semi-minimal information about it.
params.isManualClaim - restricted
https://gist.github.com/esvit/27bc8f26c09c7a3a0c18
My question is, what does restricted actually mean? Is it restricted to only partners that have access to perform manual claims, or is it restricted to everyone and only available to internal YouTube processes?
Anyone have any ideas?
Thank you!
Here is the reason from the documentation.
Note: The YouTube Content ID API is intended for use by YouTube
content partners and is not accessible to all developers or to all
YouTube users. If you do not see the YouTube Content ID API as one of
the services listed in the Google Developers Console, see
www.youtube.com/partner to learn more about the YouTube Partner
Program.
The YouTube Content ID API lets developers build applications that
interact directly with YouTube's rights management system. The system,
which has an online interface at www.youtube.com/content_id ,
enables content owners and administrators to provide YouTube with
metadata, ownership information, and policy information for their
assets.
As a YouTube partner, you can use the API to create new assets and
manage existing assets. You can also retrieve information about your
Content Manager account, including a list of saved policies that you
can apply to your claimed content.
In addition, by combining the YouTube Content ID API with the YouTube
Data API and YouTube Player APIs, you can enable your application to
also upload, manage, and play YouTube videos.
We're working on an integration with youtube channels (using Youtube Data Api v3). We need to access the videos (private also) on our user's channels.
The flow is the following:
User authorizes his/her youtube account on our site using OAuth.
We show user the list of videos on user's youtube channel.
User selects some of them (they can be private) and sends us for processing.
We need to somehow access the actual video files which the user asks us to process.
The issue is that youtube does not give any streaming URLs or download links.
Looks like, the API provides only iframe embedded code, which works ONLY for the browser, where the user is actually logged into youtube.
How can we access(can we?!) the private video, if we have the OAuth access-token of the video owner?
The YouTube Data API lets you incorporate functions normally executed on the YouTube website into your own website or application. The lists below identify the different types of resources that you can retrieve using the API. The API also supports methods to insert, update, or delete many of these resources. This in a sense means that you can see most of what you can see on the YouTube website including uploading new videos.
Downloading Youtube videos is against their Terms of Service, so the API does not support that.
Page linked above refers to Youtube ToS that states:
You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content.
YouTube partners may have access to this feature in their API (no idea i have never seen the api), if you have access to this i suggest you contact your manager directly they should be able to instruct you on how to access it assuming the feature exists.
I want to know how can I do auto subcribe an account with youtube api v3. Can I it to register with youtube account. For example, some script do auto post share on your twitter account.
I do not personally use YouTube API, but after looking over the YouTube Data API's documenation pages, it seems that the API supports a method to subscribe users to a channel.
The API Overview documentation page states:
A subscription resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are added to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video.
You may view all the methods supported by the subscription resource on the subscription resource's documentation page. The method that you would need is called insert. This allows you to automatically subscribe an authenticated user to a specified channel. The insert method's description can be found on its page along with detailed usage examples. The page provides examples in Apps Script, Java, PHP, Python, and Ruby; however this method can be used any programming language which supports the YouTube Data API Client Libraries.
I would like to display a list of videos from a YouTube playlist in an intranet application.
Is it possible to get the list of videos from a YouTube playlist using the Data api (or any other way) without requiring the user to login?
Everything that I have read so far in the YouTube data api requires the user to be signed in to authenticate.
unfortunately, you can't access youtube data API with anonymously user.
Your application must have authorization credentials to be able to use the YouTube Data API.
The Developers Console associates your credentials with the APIs that you indicate that your application will use. Note that the Developers Console does not allow you to select the YouTube Data API (v2). However, authorization credentials for the v3 API will also work for the v2 API.
If possible, you should actually use YouTube Data API (v3) rather than the v2 API in your application. The YouTube API blog explains some of the benefits that the newer API offers, and we have added a year's worth of additional functionality to the API since that blog post!
related link : https://developers.google.com/youtube/2.0/developers_guide_protocol_oauth2#OAuth2_Client_Side_Web_Applications_Flow