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

Trying to see gmail from local host #309

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
  For a POC, I need to link gmail to my local wamp html (which has emailadress/pass text boxes). We have javascript/php environment. I have registered my app in Google console. In documentation, it say that I need to change below content, but I am not sure in which file I need to make these changes. Can some one pleeease help me out on:
1) where exactly I need to make these changes. 
2) What needs to be done next. 
// $client->setClientId('insert_your_oauth2_client_id');
// $client->setClientSecret('insert_your_oauth2_client_secret');
// $client->setRedirectUri('insert_your_oauth2_redirect_uri');
// $client->setDeveloperKey('insert_your_developer_key');

Thanks in advance
Rakesh.

Original issue reported on code.google.com by Prat.Up...@gmail.com on 22 Apr 2013 at 1:55

GoogleCodeExporter commented 8 years ago
You'll need to set those values where you're setting up your Google_Client.  
You might get faster response posting this kind of question on StackOverflow, 
or looking at the examples in the examples/ folder in the SDK!

Original comment by ianbar...@google.com on 22 Apr 2013 at 1:07