Gestiada / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Youtube - get videos from user using 3-legged OAuth #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm a bit confused with the different APIs and client versions. 

Which API and version (e.g. Google Calendar Data API version 2)?
google-api-java-client 1.2 - youtube api.

What format (e.g. JSON, Atom)?
JSON.

What Authentation (e.g. OAuth, OAuth 2, Android, ClientLogin)?
3-legged OAuth 1.0a

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Java6, Servlet

External references, such as API reference guide?

Please provide any additional information below.
get request token,
redirect user to grant access,
handle callback from youtube and get access token,
send request to youtube for all uploaded videos of user.

Original issue reported on code.google.com by philipp....@gmail.com on 23 Oct 2010 at 5:18

GoogleCodeExporter commented 9 years ago
That would make a good sample.  Thanks for the request.

For now, please reference the following two samples that should help you:

http://samples.google-api-java-client.googlecode.com/hg/calendar-v2-atom-oauth-a
ppengine-sample/instructions.html?r=default

http://samples.google-api-java-client.googlecode.com/hg/youtube-jsonc-sample/ins
tructions.html?r=default

Original comment by yan...@google.com on 25 Oct 2010 at 2:20