Tuesday, July 10, 2012

[YouTube-API] Re: YouTube API does not declare any scopes

Hello Dan,

 The OAuth 2 scopes are one of the things that are in the process of changing. You can try out unauthenticated requests for the time being using the tool on that page, or (quickly!) try using https://www.googleapis.com/auth/youtube as the scope, which did work at one point but will not necessarily work after some upcoming changes are pushed.

Cheers,
-Jeff Posnick, YouTube API Team
apiblog.youtube.com | Google+: http://goo.gl/bZflZ


On Saturday, July 7, 2012 10:43:36 PM UTC-4, Dan Jidanni Jacobson wrote:
On https://developers.google.com/youtube/v3/docs/channels/list#try-it
we click Authorize requests using OAuth 2.0

we see

"Select OAuth 2.0 scopes:
Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes. Learn more about OAuth 2.0
YouTube API does not delcare[sic] any scopes. You can manually add scopes using the box below."

So then we just click "Authorize"

Error: invalid_request

Missing required parameter: scope

Learn more
Request Details

    response_type=token
    scope=
    redirect_uri=https://developers.google.com/oauthWindow
    client_id=292824132082.apps.googleusercontent.com

So what am I supposed to do?

Is there any hope of trying v3 before September?

Which YouTube API version, v2 or v3 doesn't declare scopes?

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/1llEfPQ2VY4J.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment