I'm trying to get a worksheet list feed but it gives me a 400 Invalid error.

Here's my code after including path and authenticating:

$query = new Zend_Gdata_Spreadsheets_DocumentQuery();
$query->setSpreadsheetKey($key);
$WorksheetFeed = $spreadsheetService->getWorksheetFeed($query);

For above,
$key = $feed->entries[whichever index]->text

when I requested a list feed of spreadsheets:
$httpClient = Zend_Gdata_ClientLogin::getHttpClient($user,$pass,$service);
$spreadsheetService = new Zend_Gdata_Spreadsheets($httpClient);
$feed = $spreadsheetService->getSpreadsheetFeed();

I printed out the key, and it gave me
http://spreadsheets.google.com/feeds/spreadsheets/tLNf0utmyMSUokmlBMWk-fw

Does anyone know what is going on and what I can do to successfully continue
getting the worksheet feed? Am I using the wrong key, etc.?

Thanks!


-- 
View this message in context: 
http://n4.nabble.com/400-Error-in-getting-Worksheet-list-feed-tp949382p949382.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to