Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. gapi.load('auth2', function() {
  2. GA = gapi.auth2.init({
  3. client_id: "...",
  4. scope: "https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/games"});
  5. });
  6.  
  7. GA.signIn()
  8.  
  9. gapi.client.games.scores.submit
  10.  
  11. {
  12. "error": {
  13. "errors": [
  14. {
  15. "domain": "global",
  16. "reason": "UserRegistrationIncomplete",
  17. "message": "User has not completed registration."
  18. }
  19. ],
  20. "code": 401,
  21. "message": "User has not completed registration."
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement