我正在尝试创建一个Web应用程序,为用户提供从所需工作表中提取数据的方法。
$query = new Zend_Gdata_Spreadsheets_ListQuery();
$query->setSpreadsheetKey($ssKey);
$query->setWorksheetId($wsKey);
$listFeed = $ssService->getListFeed($query); // Where the error occurs
我从$ _POST获取了我的 $ ssKey 和我的 $ wsKey 。
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message ' in *****\Zend\Gdata\App.php on line 714
Zend_Gdata_App_HttpException: Expected response code 200, got 400 Invalid request URI in *****\Zend\Gdata\App.php on line 714
的var_dump($查询)
object(Zend_Gdata_Spreadsheets_ListQuery)[11]
protected '_defaultFeedUri' => string 'https://spreadsheets.google.com/feeds/list' (length=42)
protected '_visibility' => string 'private' (length=7)
protected '_projection' => string 'full' (length=4)
protected '_spreadsheetKey' => string 'https://spreadsheets.google.com/feeds/spreadsheets/*KEY*' (length=74)
protected '_worksheetId' => string 'https://spreadsheets.google.com/feeds/worksheets/*KEY*/private/full/od6' (length=89)
protected '_rowId' => null
protected '_params' =>
array (size=0)
empty
protected '_url' => null
protected '_category' => null
的 $查询 - > getQueryUrl()
https://spreadsheets.google.com/feeds/list/https://spreadsheets.google.com/feeds/spreadsheets/*KEY*/https://spreadsheets.google.com/feeds/worksheets/*KEY*/private/full/od6/private/full
如果您需要任何进一步的信息,请告诉我。
提前谢谢你,
塞德里克。