I have 2 applications that are using same Facebook App Id. I am trying to use URL suffixes, and I have some issues.
I followed this tutorial but with no luck...
As the result (using FBSDKLoginManager for login) I am getting FB opened in Safari, I can accept login request and then "Cannot open page" message.
When I enter "fb123456789suffix://" in Safari it launches my app
When I enter "fb123456789://" in Safari there is "cannot open page" message.
It looks like FB didn't update suffixes in application page, because if I will enter url in .plist without suffix (fb123456789) everything works.
Do you have any ideas or suggestions why this is not working?
PS. I am using latest FB SDK in iOS application.
EDIT: this is not duplicate. It was different issue, I was missing FacebookUrlSchemeSuffix
parameter in .plist file,
Ok, seems to be solved.
I needed to add additional parameter in .plist:
FacebookUrlSchemeSuffix
with suffix
value. URL Scheme should be fb123456789suffix
and FacebookAppID: 123456789
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With