anuj607 / 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

UserInfo wrapper #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The documentation describes a userinfo.profile call 
(http://code.google.com/apis/accounts/docs/OAuth2Login.html#userinfocall) 
without using Google+.

I can't find in this PHP wrapper how to make that call.

Original issue reported on code.google.com by nash...@gmail.com on 30 Nov 2011 at 12:32

GoogleCodeExporter commented 9 years ago

Original comment by chirags@google.com on 9 Dec 2011 at 5:40

GoogleCodeExporter commented 9 years ago
There currently isn't a wrapper for this, but this code snippet should help you 
as a stopgap.

https://groups.google.com/d/msg/google-api-php-client/o1BRsQ9NvUQ/xa532MxegFIJ

Original comment by chirags@google.com on 14 Dec 2011 at 10:16

GoogleCodeExporter commented 9 years ago
This is now available on trunk.
http://code.google.com/p/google-api-php-client/source/checkout

I've also written an example project here:
http://code.google.com/p/google-api-php-client/source/browse/trunk/examples/user
info/index.php

Original comment by chirags@google.com on 6 Jan 2012 at 6:44