namphho / google-api-java-client

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

youtube-v2-atom-oauth-sample #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which API (e.g. Google Calendar Data API)?

YouTube Data API

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6)?

Java 6

External references, such as API reference guide?

http://code.google.com/apis/youtube/2.0/developers_guide_protocol_audience.html

Please provide any additional information below.

Original issue reported on code.google.com by yan...@google.com on 14 Sep 2010 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 21 Sep 2010 at 8:17

GoogleCodeExporter commented 9 years ago
Issue 28 has been merged into this issue.

Original comment by yan...@google.com on 27 Sep 2010 at 11:15

GoogleCodeExporter commented 9 years ago
Merging Issue 34:

Could you please expand the YouTube sample to demonstrate video uploading? I've 
tried all uploading methods (Direct uploading, resumable uploading, uploading 
without metadata) and always get a Bad Request. All other functionality 
(accessing videos, deleting them, etc) is working, it is only uploading where 
I'm having the problems. Uploading in this fashion (using 
MultipartRelatedContent) works perfectly for me with Picasa. What is different 
about YouTube?

Merging Issue 28:

Code required for fetching from youtube, the following using 
google-api-java-client

1) Most Rated Videos
2) Most Viewed Videos
3) Searching a video

Original comment by yan...@google.com on 1 Oct 2010 at 8:57

GoogleCodeExporter commented 9 years ago
Issue 34 has been merged into this issue.

Original comment by yan...@google.com on 1 Oct 2010 at 9:11

GoogleCodeExporter commented 9 years ago
I have just gotten uploading to work with YouTube. The difference from Picasa 
is that there are more required fields within the meta data, one of which is 
the <media:category> field. If these are missing the upload fails.

Original comment by jsjenkin...@gmail.com on 1 Oct 2010 at 9:21

GoogleCodeExporter commented 9 years ago
Good to know.  Thanks for the update.

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

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 21 Oct 2010 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 21 Dec 2010 at 2:49

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 26 Apr 2011 at 11:19

GoogleCodeExporter commented 9 years ago
Here is a sample class for uploading/deleting a youtube video using 
google-api-java-client. I release the code into the public domain.

Original comment by f.hacken...@chello.at on 18 May 2011 at 11:23

Attachments: