简体   繁体   中英

Same Facebook app for multiple (possibly infinite) iOS apps?

I want to integrate my Facebook app in multiple iOS apps. I know there's a way to include all the bundle IDs in my app settings on Facebook. But the problem is, I am providing this feature in an API.

Any person using my API, should be able make his iOS app connect to my Facebook app. And since the API is public, there is no way I'd know all the possible app ids.

I am using Facebook SDK 3.1 and logging in using

[FBSession openActiveSessionWithReadPermissions:permissions
                              allowLoginUI:YES
                              completionHandler:]

There is currently no way to programmatically add Bundle IDs to the Facebook App Dashboard. So unless you know the Bundle IDs ahead of time, you would not be able to set this up.

By the way, you want to be careful about tying one Facebook App ID to apps that are not similar to one another or extensions of one another, ex: a paid vs. free version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM