skishore119 / google-api-php-client

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

Need auth to asked to allow access each time #366

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Well basically i have my API set up, this is a youtube api that will gather 
data from analytics which will the perform a automatic process which will look 
through views, videos subs etc then decide if the account makes the certain 
requirements.

But what i want it to do is ask the account to allow access each time, i 
noticed the approval_prompt does this but....

Approval_Prompt is set to force, which this should force them to allow access 
everytime. yet it doesnt. 

I got asked to call the function but i have no clue where
$client->setApprovalPrompt('force');

is that what i have to put, if so where

Original issue reported on code.google.com by zookenet...@gmail.com on 10 Aug 2013 at 12:42

GoogleCodeExporter commented 8 years ago
Dupe of 365. Please add some code to that if you want more detailed help!

Original comment by ianbar...@google.com on 12 Aug 2013 at 12:10