Hello
I have a c# 2.0 application (not web) that used to work fine getting
snippets from Google Base using the c# libraries.
However now I get the dreaded "No developer key specified"
The code has not changed, ive tried a new develper key by creating a
new account and its the same. I also tried updating the c# libraries to
the latest release, still no joy.
If I try the query in IE and add my key like this:
http://www.google.com/base/feeds/snippets/-/housing?max-results=200&bq=[location:%20%22sg1%22]&key=MYKEY
It works fine.
Here is the code:
================================
GBaseUriFactory uriFactory = GBaseUriFactory.Default;
GBaseService service;
service = new GBaseService(cstr_applicationName, cstr_developerKey);
GBaseQuery query = new GBaseQuery(uriFactory.SnippetsFeedUri +
"/-/housing");
query.GoogleBaseQuery = "[location: \"" + vstrLocationQuery + "\"]";
query.NumberToRetrieve = cint_maxResults;
GBaseFeed result = service.Query(query);
================================
As I said this code has not changed.
Anyone any ideas?