Creating a Google Application

WPWeb Social Network Integration Documentation


To get your Google App details, visit the Google API Console and sign in with your Google account if you are not already logged in.

Create a Google Cloud Project

Click Create Project, enter your project name, select the required organization if applicable, and click Create.

Google step 1
Google step 2

After the project is created, select the project from the project selector in the Google Cloud Console.

Enable the Required API

From the Google Cloud Console, open APIs & Services → Library.

Search for the Google+ API, open it, and click Enable.

Similarly search for the Google+ Domains API, open it, and click Enable.

Configure the OAuth Consent Screen

Go to APIs & Services → Credential Configure Consent Screen and start configuring your application.

Enter the required App Information, including the application name and support email.

Under Audience, select External.

Enter the required Contact Information, then review the configuration and click Create to complete the OAuth consent screen setup.

Create OAuth Client ID

After completing the OAuth consent screen configuration, you will be redirected to screen as shown in the below image. From there click on Create OAuth Client.

Select Web application as the application type and enter a name for the OAuth client.

Configure Authorized URLs

Under Authorized JavaScript origins, click Add URI and enter your website URL.

Under Authorized redirect URIs, click Add URI and enter the Google Callback URL provided in the plugin settings.

Click Create to create the OAuth client.

Important: Make sure the redirect URI exactly matches the callback URL provided by the plugin. Any mismatch may cause the OAuth authentication process to fail.

Get the Client ID and Client Secret

Once the OAuth client is created, Google will display the Client ID and Client Secret.

Copy both credentials and keep them secure.

You can also view the credentials later from the Credentials section by opening the created OAuth client.

Add Google Credentials to the Plugin

Copy the Client ID from your Google Cloud project and enter them in the corresponding fields under the Google App Settings section of the plugin settings page.

After entering the credentials, click Save Changes.

Google client id on plugin setting

Important: When copying and pasting the required IDs, make sure there are no empty spaces at the beginning or end of the entries. Any extra spaces may prevent the application from working correctly and can cause an error when connecting to Google.