1
votes

Working with Google Plus API, I have enabled the google+ api in developer console and regenrated the appkey multiple times and trying to access the profile using profile.get but everytime i am getting the following issue:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
   }
  ],
  "code": 403,
  "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
 }
}

Here is the link, i am trying to do:

https://www.googleapis.com/plus/v1/people/113377691202864347297?key={myKey}

passing my generated key for that domain, i am getting the above error. why it is not working

Screenshot of Enabled API's

API

2
Did you read the error message? You haven't activated the API for your projectMarc B
i did activated that, i can show screenshot hereRegual
any idea what is going wrongRegual

2 Answers

1
votes

I am guessing you're using the wrong API key. The API key is not a client ID or a client secret - it shouldn't have '.' in it. In the new console (https://developers.google.com/console) they are generated under the Credentials > Public API Access section and should look something like 'AIzaSyC-iPgOiU2hSqnpjc-KrtHpwThsWh_hQdO'.

If you've made one make sure that the allowable IP addresses or browser URLs (depending on key type) include the one you're making the call from. I included a screenshot of the key section below.

A screenshot of the key section

-2
votes

Which jar should i include for retrieving public posts of user. Iam using google+ v1 api jars but there seems to be some problem with json. It is not able to resolve it.