Access is not configured. +1 API

I am trying to get the number of shares from Google+ using the Google+ API and only catching the error:

Access is not configured. +1 API was not previously used in the 383866521277 project or it is disabled. Please enable it by visiting https://console.developers.google.com/apis/api/pos.googleapis.com/overview?project=383866521277 then try again. If you recently enabled this API, please wait a few minutes for the effect to propagate to our systems and try again.

After that I visit the recommended link and don't catch pos.googleapis.com not found. How do I enable this API?

+3


source to share


1 answer


To access the Google APIs, you need to register your app with the Google Developer Console . You may have already created your credentials. The API key or Oauth2 credentials that you created identify the app to Google. The project that was used to generate the API key or Oauth2 credentials you are using must have the Google+ API.

Enable API:

What you forgot to do is tell Google which APis you will receive. On the left side of the search search for "Library", find the Google+ api and enable it.



Pos.googleapis.com error

enter image description here

Means that you do not have access to the 383866521277 project or it has been deleted. The person who created the project should provide you with the Google+ api. Remember this is denoted by the API key or Oauth2 credentials that you created and use in your code.

+3


source







All Articles