I have 2 apps that use the same Facebook app id. I am trying to use URL suffixes and I have some problems.
I followed this tutorial but no luck ...
- I created the suffixes on the Facebook application page (I have a “developer” and not an “administrator”, but that allowed me to set suffixes).
- I added the suffix to the iOS.plist app - fb123456789suffix
- Suffix contains only small letters
As a result (using FBSDKLoginManager to log in) I get FB in Safari, I can accept the login request and the message "The page cannot be opened".
When I enter "fb123456789suffix: //" in Safari, it launches my application
When I enter "fb123456789: //" in Safari, the message "cannot open the page" appears.
It seems that FB did not update the suffixes on the application page, because if I enter the url in .plist without the suffix (fb123456789), everything will work.
Do you have any ideas or suggestions why this is not working?
PS. I am using the latest FB SDK in an iOS app.
EDIT: this is not duplicate. This was another problem, I was missing the FacebookUrlSchemeSuffix parameter in the .plist file,
Piotr source share