|
Project Information
|
Google+ JavaScript API Starter Project This starter project demonstrates use of the Google+ APIs and development best practices. You can use it as a starting point for building your own Google+ applications. Getting StartedOnce you're ready to dive in to the code simply download the zip archive and follow the instructions below. - Visit the Google API Console to generate your developer key, OAuth2 client id, and register the location of your application.
- From the "Services" screen, activate access to "Google+ API".
- Click on "API Access" in the left column
- Click the button labeled "Create an OAuth2 client ID"
- Give your application a name and click "Next"
- Select "Web Application" as the "Application type"
- Under "Your site or hostname" enter the domain where you will be hosting your application.
- Click "Create client ID"
- Edit index.html with the consumer key and developer key you obtained in step 1.
- Update 'insert_your_oauth2_client_id' with your oauth2 client id.
- Update 'insert_your_developer_key' with your developer key. This is listed under "Simple API Access" at the very bottom in the Google API Console
- Visit http://localhost/googleplus/index.html
Related Resources
|