2
votes

i am working on to display wall posts (Stream) data using Google Plus API. i have valid Client ID + API_KEY.

I am able to get response from Google Plus cloud console.i.e. by executing method I get Something like

Request

GET https://www.googleapis.com/plus/v1/people/myuserid/activities/public?maxResults=5&key={YOUR_API_KEY}

X-JavaScript-User-Agent: Google APIs Explorer

Response

200 OK

........

Seems good till now..but,when i use Request URL i.e https://www.googleapis.com/plus/v1/people/myuserid/activities/public?maxResults=5&key={MY_API_KEY} i got something from browser like this

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured"
   }
  ],
  "code": 403,
  "message": "Access Not Configured"
 }
}

where i am going wrong ?! how to get correct response from Browser. ? as i want to parse them and use these data in my Application.

NOTE: Google + API is ON.

2
Im having the same problem have u got something working? some example code? - Nanoc
no,not yet.i have check CLIENT_ID + API_KEY .there is no problem with that.if you working with PHP aur JAVA you have to register your app in Google App Engine.(Answer from google + developer's community) . There should be some problem with OAuth 2.0 Authentication.i am working on that.you can follow stackoverflow.com/questions/19352669/… answer by Joanna. Goood Luck !! - V.D
Finally,i ended up using OAuth2.0 Playground :)) - V.D

2 Answers

2
votes

Are you making sure that you have replaced {MY_API_KEY} with the API key that you have generated using the Cloud Console?

0
votes

Are you using the Browser Key? It works OK for me. enter image description here