trungtoanit / gdata-objectivec-client

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

You Tube Sample should allow anonymous queries #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compileand run
2.
3.

What is the expected output? What do you see instead?
The program should allow you to query YouTube anonymously.  If does not.

What version of the product are you using? On what operating system?
1.10

Please provide any additional information below.
Please help...

Original issue reported on code.google.com by joeacklin@gmail.com on 23 Jun 2010 at 6:46

GoogleCodeExporter commented 9 years ago
What do you mean by "anonymously"?

You can fetch the public feeds in the sample app by specifying a YouTube 
username and leaving the password field blank.

Original comment by gregrobbins on 23 Jun 2010 at 11:30

GoogleCodeExporter commented 9 years ago
So, as a developer, I don't want a user to have to type in a userID in order 
for the program to display movie option.  What would I specify as the userID, a 
user ID that I made specifically for the program?  Thank you!

Original comment by joeacklin@gmail.com on 23 Jun 2010 at 11:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The sample application does not attempt to show how to do non-user specific, 
non-authenticated searches. The YouTube API is far too big to put much of it 
into sample code.

See the YouTube docs about the various feed URLs --
http://code.google.com/apis/youtube/2.0/developers_guide_protocol_video_feeds.ht
ml

Classes GDataQueryYouTube and GDataServiceGoogleYouTube can work with any legal 
YouTube feed URL. You can pass nil as user ID to the service class's 
+youTubeURLForFeedID: method.

Feel free to follow up to the GData Objective-C Library discussion group if you 
have further questions.

Original comment by gregrobbins on 24 Jun 2010 at 12:08