You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func login(){LoginManager.shared.login(permissions:[.profile], in:self){
result in
switch result {case.success(let loginResult):
if let profile = loginResult.userProfile {print("User ID: \(profile.userID)")print("User Display Name: \(profile.displayName)")print("User Icon: \(String(describing: profile.pictureURL))")// TODO 実装追加}case.failure(let error):print(error)}}}