Facebook Login: safari cannot open the page because the address is invalid

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): iOS

Dear friends,
When trying to do Facebook authentication on my local iOS Simulator, I get the cancel response :safari cannot open the page because the address is invalid.
However, this works normally on my physical devices.
I’ve tried the following:

  1. Clearing Safari History data and Cookies
  2. Rebooting device
  3. Deleting and installing expo
  4. I’ve included facebookScheme, facebookAppID, facebookDisplayName in my app.json
    …however, error still persists.
    Any idea why this is happening?

Thanks in advance

Hey @derryc09,

Can you make sure you are initializing the module via https://docs.expo.io/versions/latest/sdk/facebook/#facebookinitializeasyncappid-string--undefined-appname-string-

Cheers,
Adam

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