Facebook LogIn doesn't redirect back to app using Native FB App on iOS

Hi there,

I’m following the instructions here https://docs.expo.io/versions/latest/sdk/facebook to setup a simple Facebook authentication flow.

All works fine when using the option to “Log In with Phone Number or Email Address”. This option keeps you in the webview so makes sense.

But there is the option to “Log In with the Facebook App” which authenticates fine, but does NOT redirect you back to the Expo app afterwards. All you see if a blank FB page with the blue bar at the top and option to “Cancel”. When you go back to the Expo app manually you are not logged in.

I haven’t tried this using a standalone app yet, just all within the Expo app, which the guide would suggest you can do.

I have set my bundle identifier in the FB app to host.exp.Exponent and published my FB app.
I am using SDK31 and have correctly setup app.json with the facebookScheme, AppId and DisplayName.

Does this feature work or do I need to go to a standalone app to get this to work?

Many thanks!

1 Like

Bump!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.