testecgi-fcgiOpen the following link in your browser:
https://accounts.google.com/o/oauth2/auth?response_type=code&access_type=offline&client_id=44055905706-i6nj53346qlsrt94cdimlfcfko6pcuku.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&state&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.readonly&approval_prompt=auto
Enter verification code:
Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /home/emultectempcom/public_html/api1/quickstart.php on line 35
Warning: fgets() expects parameter 1 to be resource, string given in /home/emultectempcom/public_html/api1/quickstart.php on line 35
Fatal error: Uncaught InvalidArgumentException: Invalid code in /home/emultectempcom/public_html/api1/vendor/google/apiclient/src/Google/Client.php:182
Stack trace:
#0 /home/emultectempcom/public_html/api1/quickstart.php(38): Google_Client->fetchAccessTokenWithAuthCode('')
#1 /home/emultectempcom/public_html/api1/quickstart.php(64): getClient()
#2 {main}
thrown in /home/emultectempcom/public_html/api1/vendor/google/apiclient/src/Google/Client.php on line 182