第一次解析facebook登录(first time for the parse facebook login)
这是我正在使用的代码:
PFLogInViewController *logInViewController = [[PFLogInViewController alloc] init]; [logInViewController setDelegate:self]; // Set ourselves as the delegate logInViewController.fields = PFLogInFieldsFacebook; [self presentViewController:logInViewController animated:YES completion:NULL];当我第一次启动APP并通过Facebook登录时,我的解析仪表板 - >核心将为该用户显示一个奇怪的信息:A1SCEDngWHGljZjKGIBYOykRh)作为名字,未定义的Facebook网址,甚至个人资料图片也未定义。 但是在第二次发布之后,一切都会正确,我不知道为什么会发生这种情况。 有谁会帮助我?
Here is what code I am using :
PFLogInViewController *logInViewController = [[PFLogInViewController alloc] init]; [logInViewController setDelegate:self]; // Set ourselves as the delegate logInViewController.fields = PFLogInFieldsFacebook; [self presentViewController:logInViewController animated:YES completion:NULL];when first time I launch the APP and login via Facebook, my parse dashboard-> core will show a strange information for that user: A1SCEDngWHGljZjKGIBYOykRh) as first name, undefined Facebook url, even the profile picture is also undefined. But after second launch, all will be right, I have no clue why this happen. anyone will help me?
最满意答案
你应该再次阅读Parse doc
You should go through the Parse doc one more time
更多推荐
发布评论