Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

| Views: 481
If you want to use the Google Plus API in your project, you have to create an app first. This is a relatively easy process and is described in the quick-start sample apps that Google provides, however here's another version with screenshots, because pictures are easier to follow than blocks of text.

So lets get started, but first here are some links that will be useful throughout this post:

To create an app, go to the Google Developer Console and click 'Create Project'.
pg_1.png


Fill in the Project Name and the Project ID and click 'Create'.
pg_2.png


Navigate to APIs & Auth > APIs and under Social APIs click Google+ API.
pg_3.png




Click 'Enable API'.
pg_4.png


Navigate to Consent Screen page and enter your email address and the product name, then click 'Save'.
pg_5.png


Navigate to the Credentials page and click 'Create new Client ID'. Select Web application. Enter the JavaScript origins for your app, this is the domain name where your app will run from. Enter the authorised redirect URIs, this is where the OAuth2 redirection navigate to on your domain once Google has authenticated your user. Click 'Create Client ID'.
pg_6.png



Once the client ID is created, the Credentials page will show two new important pieces of information, the client ID and the client secret. These are required for OAuth2 functionality used with Google+ API.
pg_7.png


-i

Have comments or feedback on what I wrote? Please share them below! Found this useful? Consider sending me a small tip.
comments powered by Disqus
Other posts you may like...