gapi.client.load error "Ignoring mismatched auth param scope=https://www.googleapis.com/auth/plus.login"

406 Views Asked by At

From today I'm starting having troubles getting user's friends list with JS, when i load the plus api with "gapi.client.load('plus', 'v1', callbackFn)" I see in firebug logs the message

"Ignoring mismatched auth param scope=https://www.googleapis.com/auth/plus.login"

And then when I call gapi.client.plus.people.list({'userId': 'me', 'collection': 'visible', 'fields': 'items(id)')

It fails saying "Invalid string value: 'visible'. Allowed values: [pages]"... when it's not true! Yesterday was working fine, I could get my friend's ids and today stopped... Even trying to create a new application and api key always get the same error, something changed on big G plus apis?

I'm having headache, anyone having this trouble?


Update 1: I've found an example from google developers guide and followed line by line: https://developers.google.com/api-client-library/javascript/start/start-js That's exactly whath i'm doing and... same result! :(

0

There are 0 best solutions below