Closed GoogleCodeExporter closed 9 years ago
Here's the sample:
<?
require_once 'google-api-php-client/src/apiClient.php';
require_once 'google-api-php-client/src/contrib/apiPlusService.php';
session_start();
$client = new apiClient();
$client->setApplicationName('Google+ PHP Starter Application');
// Visit https://code.google.com/apis/console?api=plus to generate your
// simple api key
$client->setDeveloperKey('insert_your_simple_api_key');
$plus = new apiPlusService($client);
$activities = $plus->activities->listActivities('118051310819094153327', 'public');
print 'Activities: <pre>' . print_r($activities, true) . '</pre>';
Original comment by chirags@google.com
on 4 Mar 2012 at 1:51
Hi,
Thank you for the code sample; however, I should have been more specific. I
need to interface with Google Calendar. Can you provide a similar code sample;
however, one that interfaces with Google Calendar?
Thanks much.
Laura Young
Original comment by laurarad...@gmail.com
on 5 Mar 2012 at 4:29
Original issue reported on code.google.com by
laurarad...@gmail.com
on 1 Mar 2012 at 9:03