Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS版 Objective-C 的 demo ,在登录时报错 401 #24

Open
hq3595 opened this issue Apr 26, 2017 · 2 comments
Open

iOS版 Objective-C 的 demo ,在登录时报错 401 #24

hq3595 opened this issue Apr 26, 2017 · 2 comments

Comments

@hq3595
Copy link

hq3595 commented Apr 26, 2017

[AVUser logInWithUsernameInBackground:kDemoUsername password:kDemoPassword block:^(AVUser *user, NSError *error) {
if ([self filterError:error]) {
[self log:@"登录成功 %@", user];
}
}];

运行这段代码的时候报错401,啥情况?

@nicecui
Copy link

nicecui commented Apr 26, 2017

这个应用的 App ID 和 Key 需要修改,我们稍后修改一下,您可以先把 App ID 和 Key 换成自己的。

#define AVOSCloudAppID @"G3ROSsF7zRSA3vHD5zw7mDv1"

@hq3595
Copy link
Author

hq3595 commented Apr 26, 2017

改成自己的App ID 和 Key 就可以了,谢谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants