dudu1982 / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Could you please share an example how to import contact? #447

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tried the example from 
https://code.google.com/p/google-api-php-client/source/browse/trunk/examples/con
tacts/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?

Original issue reported on code.google.com by grp4.533...@gmail.com on 17 Feb 2014 at 5:38

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

without success

Original comment by Styke...@gmail.com on 24 Feb 2014 at 9:25

GoogleCodeExporter commented 9 years ago
They putted it in getAuth()
=> $client->getAuth()->authenticatedRequest($request);

Took me a while to find it.

Original comment by da...@xando.be on 2 Apr 2014 at 3:05

GoogleCodeExporter commented 9 years ago
Thank you so much #2.  I would have never found this.

Original comment by jamespcr...@gmail.com on 30 Nov 2014 at 10:16