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

Fetch analytical data at a particular time by setting cron job. #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I have to run php scripts to fetch analytical data regarding a user. I have 
used oAuth process for user authentication. As per my understanding this api 
needs username and password of that user for authentication but how can we 
authenticate a user since user will not provide their login credentials to 
other site. Is there any parameter that api returns which can help my 
application to retrieve data either using that parameter or we can skip this 
process?

Please provide some help. Thank you

Original issue reported on code.google.com by test123....@gmail.com on 28 Feb 2012 at 10:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You'll need to have the user log in with oAuth 2.0. Once they have logged in 
you can store a refresh token which will give you offline access. They will 
need to login at least once.

Original comment by ianbar...@google.com on 22 Mar 2013 at 1:53