Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to access user's profile from Google Plus

I am using Scribe-Java to connect to Google plus using OAuth2. I am able to authenticate my application and obtain user's permission, but when I try to access anything other than userinfo, I am getting this Exception.

403

{

"error": {

  "errors": [
            {

          "domain": "usageLimits",
           "reason": "accessNotConfigured","message": "Access Not Configured"

            }

            ],

  "code": 403,

"message": "Access Not Configured"

     }

}

I have set the scope of my application as https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/userinfo.profile and to access user's profile I am using this url:

https://www.googleapis.com/plus/v1/people/{userid}/activities/public

Can you tell me what I am doing wrong? Is there some other scope that I need to use here to access the Profile?

like image 379
Logan Avatar asked Jun 18 '12 12:06

Logan


1 Answers

1) Visit the Google APIs console: http://code.google.com/apis/console

2) Go to the 'Services' page.

3) Enable the Google+ API by switching it to On

like image 192
Ryan Boyd Avatar answered Oct 17 '22 04:10

Ryan Boyd