Closed GoogleCodeExporter closed 9 years ago
You can use $client->setAccessToken($token) to set your own access token, where
$token is a json encoded string in the following format.
$token = json_encode(array('access_token' => 'insert-your-access-token-here',
'refresh_token' => 'your-refresh-token-here'));
$client->setAccessToken($token);
From this point, you can make api calls. A good example is provided here:
http://code.google.com/p/google-plus-php-starter/
Original comment by chirags@google.com
on 29 Mar 2012 at 8:31
Original issue reported on code.google.com by
chengen....@gmail.com
on 28 Mar 2012 at 4:33