質問編集履歴
1
個人情報丸出しだったのを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
print(error.localizedDescription)
|
29
29
|
// AppDelegate.instance().dismissActivityIndicator()
|
30
30
|
|
31
|
-
let errorAlert = UIAlertController(title: "Oooops", message: "エラーが発生しました。
|
31
|
+
let errorAlert = UIAlertController(title: "Oooops", message: "エラーが発生しました。(error.localizedDescription)", preferredStyle: .alert)
|
32
32
|
let okAction = UIAlertAction(title: "閉じる", style: .default, handler: nil)
|
33
33
|
|
34
34
|
errorAlert.addAction(okAction)
|
@@ -47,15 +47,13 @@
|
|
47
47
|
case .failed:
|
48
48
|
// error handling
|
49
49
|
print("ERROR OMG(result)")
|
50
|
-
|
50
|
+
|
51
51
|
break
|
52
52
|
}
|
53
53
|
}
|
54
|
-
case .cancelled: // Facebook へのログインがキャンセルされた
|
54
|
+
case .cancelled: // Facebook へのログインがキャンセルされた
|
55
|
-
// AppDelegate.instance().dismissActivityIndicator()
|
56
55
|
break
|
57
56
|
case .failed: // Facebook へのログインが失敗した
|
58
|
-
// AppDelegate.instance().dismissActivityIndicator()
|
59
57
|
break
|
60
58
|
}
|
61
59
|
}
|
@@ -71,10 +69,10 @@
|
|
71
69
|
data = {
|
72
70
|
height = 50;
|
73
71
|
"is_silhouette" = 0;
|
74
|
-
url = "https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=2091500631114271&height=50&width=50&ext=1529754550&hash=
|
72
|
+
url = "https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=2091500631114271&height=50&width=50&ext=1529754550&hash=◯◯◯";
|
75
73
|
width = 50;
|
76
74
|
};
|
77
|
-
}, "last_name":
|
75
|
+
}, "last_name": ◯◯◯, "email": ◯◯◯, "id": ◯◯◯, "first_name": ◯◯◯]
|
78
76
|
|
79
77
|
|
80
78
|
|