iOS SSO with multiple apps

前端 未结 2 561
难免孤独
难免孤独 2021-01-16 15:38

I\'ve searched for an answer to this question and have been unable to find any answers.

I\'ve got a range of iOS apps that I want to use the same Facebook app. The S

相关标签:
2条回答
  • 2021-01-16 16:29

    I found the useful "unknown_error" message only occurred when authenticating via the iOS Facebook app.

    A quick and dirty workaround is to force the Facebook SDK to use mobile safari for authentication. Look for [self authorizeWithFBAppAuth:YES safariAuth:YES] in Facebook.m and change the FBAuth value.

    Not the nicest solution... but if you need a project out of the door... ;)

    0 讨论(0)
  • 2021-01-16 16:34

    I was having the same problem as described above. The way I fixed it was to make sure that all of the Bundle IDs of the iOS apps that are sharing the Facebook app are listed.

    Multiple iOS Apps Sharing the Same Facebook App

    As you can see in the picture, I have two URL Scheme Suffixes and the blurred out portions are the Bundle IDs of the apps that are connecting to this facebook app. Since it's a free and paid version, I only use one App Store ID so the posts from the free version will link to the paid version App Store link.

    Hope this helps!

    0 讨论(0)
提交回复
热议问题