【发布时间】:2015-03-04 09:13:00
【问题描述】:
我已经使用 gsaml 在 moodle 中完成了 google api 集成。但我有一个问题。每件事都很好。但谷歌加不起作用。只有当我第一次登录 gmail 时,Google plus 才有效。我正在尝试使用环聊功能。有什么问题?
【问题讨论】:
标签: google-api moodle
我已经使用 gsaml 在 moodle 中完成了 google api 集成。但我有一个问题。每件事都很好。但谷歌加不起作用。只有当我第一次登录 gmail 时,Google plus 才有效。我正在尝试使用环聊功能。有什么问题?
【问题讨论】:
标签: google-api moodle
只需在视图中添加此内容即可加载您想要显示 google+ 签名按钮的位置
self.signInButton_google = [[GPPSignInButton alloc]init];
self.signInButton_google.frame = //pass button frame
[self.view addSubview:self.signInButton_google];
google_signIn = [GPPSignIn sharedInstance];
google_signIn.shouldFetchGooglePlusUser = YES;
google_signIn.shouldFetchGoogleUserEmail = YES;
google_signIn.clientID = kClientId;
google_signIn.scopes = @[ @"profile" ];
google_signIn.delegate =self;
【讨论】: