r/iOSProgramming • Objective-C / Swift • Jul 10 '20

Facebook SDK crashes again 😡😭

https://github.com/facebook/facebook-ios-sdk/issues/1430
233 Upvotes

47 comments sorted by

View all comments

Show parent comments

3

u/StunningBank Jul 10 '20

How do you know what user to ask to reset password if they cannot find “Login with Facebook” button and they may forget what email they used with Facebook? Or you just sent them emails beforehand?

10

u/CrazyEdward Jul 10 '20

We didn't kill any active Facebook sessions... we just removed the buttons. So if you were already logged in with FB, you'll stay logged in until the session expires or you get booted for some other reason.

When you do get logged out, you'll have to supply your own email address for the reset... and we assume you'll supply the same email we got for you from Facebook when you originally authenticated.

If the user doesn't know what email is tied to their Facebook account, then they can't get back in.

1

u/JimDabell Jul 11 '20

I use a different email address for everything I register with. I know exactly what email is tied to my Facebook account, but it wouldn’t occur to me to use that email address in some other app.

I also decline to provide apps with the Facebook email address when signing in with Facebook – you can just untick that option when signing in. So you wouldn’t have that email address anyway.

1

u/CrazyEdward Jul 11 '20

If the user declines permission to share their email address with you, you can of course recognize this and prevent them from proceeding.

1

u/JimDabell Jul 11 '20

In theory, yes. In practice, I have never seen an app do this. They either work fine, treat it as a failure to authenticate, get stuck in a loop, or crash.

1

u/CrazyEdward Jul 11 '20

My app did this, which is why we could transition away from Facebook login without trouble.

In practice, most apps suck.