Export to GitHub

google-api-php-client - issue #447

Could you please share an example how to import contact?


Posted on Feb 17, 2014 by Swift Cat

I tried the example from https://code.google.com/p/google-api-php-client/source/browse/trunk/examples/contacts/simple.php. However, the function calls are using abstracted method of old library,eg, $val = $client->getIo()->authenticatedRequest($req); from line 50....I really don't know what shall be the equivalent in the latest release. Could anyone help on this?

Comment #1

Posted on Feb 24, 2014 by Quick Bird

Me too, i would like to know i tried $client->getIo()->makeRequest($req); and $client->getIo()->executeRequest($req);

without success

Comment #2

Posted on Apr 2, 2014 by Happy Bear

They putted it in getAuth() => $client->getAuth()->authenticatedRequest($request);

Took me a while to find it.

Comment #3

Posted on Nov 30, 2014 by Helpful Elephant

Thank you so much #2. I would have never found this.

Status: Closed

Labels:
Type-Defect Priority-Medium