android - get request token google+ oauth 2.0 -


i trying login android app via google+. code

oauthservice authservice = new servicebuilder().provider(googleapi.class).apikey(google_api_key)                 .apisecret(google_api_key_secret).scope(google_oauth_web_scope)                 .callback(oauth_intent_scheme + "://" + oauth_google_intent_host).build();  authservice.getrequesttoken(); 

but receive next error org.scribe.exceptions.oauthexception: response body incorrect. can't extract token , secret this: 'consumer not registered:

where can correct api key , api key secret? when click create new client id -> installed-> android developer console give me client id. can secret key


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -