Re: PHP Google APIs Client: How to get user's location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/14/2014 02:53 PM, Adam Tong wrote:
> Hi,
> 
> I implemented successfully a sign-in with google feature in my website. Now
> I want to retrieve the user's location after he signs in. How can I do that?
> 
> At this moment here is the scope that i have: $client->setScopes('email');`
> I guess I have to change that.
> 
> And to retrieve data I have the following:
> $client->verifyIdToken()->getAttributes(); Do I need another method than
> this?
> thanks
> 

This is not a PHP issue.  Why not ask the makers of the API?

https://github.com/google/google-api-php-client

-- 
Jim Lucas

http://www.cmsws.com/
http://www.cmsws.com/examples/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux