Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/241.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP谷歌日历API-导入事件_Php_Google Api_Google Calendar Api - Fatal编程技术网

PHP谷歌日历API-导入事件

PHP谷歌日历API-导入事件,php,google-api,google-calendar-api,Php,Google Api,Google Calendar Api,我已经下载了google api php客户端并更新了calendar/sample.php文件。 但是导入事件的代码应该放在哪里呢? 进入sample.php文件 什么是重定向url。。。还是应该把代码放在那里 塔克斯 martin检查PHP客户端库中包含的日历API示例(http://code.google.com/p/google-api-php-client/source/browse/trunk/examples/calendar/simple.php)把你的代码,而不是 $calLi

我已经下载了google api php客户端并更新了calendar/sample.php文件。 但是导入事件的代码应该放在哪里呢? 进入sample.php文件 什么是重定向url。。。还是应该把代码放在那里

塔克斯
martin

检查PHP客户端库中包含的日历API示例(http://code.google.com/p/google-api-php-client/source/browse/trunk/examples/calendar/simple.php)把你的代码,而不是

$calList = $cal->calendarList->listCalendarList(); 
这是完成身份验证流后执行的行