myshinjio / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you please share an example how to import contact?

GoogleCodeExporter opened this issue · comments

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

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

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

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

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