BluesZhang / gdata-objectivec-client

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

The parameter 'vq' is not available in this version. Please use 'q' instead. #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make a query using the YouTube API

What is the expected output? What do you see instead?
Expect search results
See error saying "The parameter 'vq' is not available in this version. Please 
use 'q' instead."

What version of the product are you using? On what operating system?
GData 1.9.0
OSX Snow
Protocol version 2.0

Please provide any additional information below.
Setting serviceVersion to 1.0 works around the problem.
Looking at GDDataQueryTest.m the expected URI uses the vq parameter 
Setting kVideoQueryParamName in GDataQueryYouTube.m to @"q" fixes the issue

When changing this I obviously see the deprecation note, so why is it still 
used? :P

Original issue reported on code.google.com by Voxxar on 30 Oct 2009 at 1:36

GoogleCodeExporter commented 9 years ago
Thanks for pointing this out. Fixed on top of trunk.

Original comment by gregrobbins on 30 Oct 2009 at 7:16