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

NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ for more details.
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

Skip down to comments...
Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...