Created
August 10, 2012 10:56
-
-
Save ianbarber/3313369 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$client = new Google_Client(); | |
$client->setApplicationName("Oyster+"); | |
$client->setClientId('YOUR_CLIENT_ID_HERE'); | |
$client->setClientSecret('YOUR_CLIENT_SECRET_HERE'); | |
$client->setRedirectUri('http://localhost:8080/oyster'); | |
$client->setDeveloperKey('YOUR_DEVELOPER_KEY'); | |
$client->setScopes(array('https://www.googleapis.com/auth/plus.me', 'https://www.googleapis.com/auth/plus.moments.write')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment