Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>In the latest <a href="https://github.com/facebook/facebook-ios-sdk">Facebook iOS SDK on Github</a> there's a method called <strike><code>authorize:delegate:localAppId:</code></strike> <code>initWithAppId:urlSchemeSuffix:andDelegate:</code>. You can use the <strike><code>localAppId</code></strike> <code>urlSchemeSuffix</code> parameter to distinguish multiple iOS Apps that use the same Facebook application id. The method documentation says:</p> <blockquote> <p>urlSchemeSuffix is a string of lowercase letters that is appended to the base URL scheme used for SSO. For example, if your facebook ID is "350685531728" and you set urlSchemeSuffix to "abcd", the Facebook app will expect your application to bind to the following URL scheme: "fb350685531728abcd". This is useful if your have multiple iOS applications that share a single Facebook application id (for example, if you have a free and a paid version on the same app) and you want to use SSO with both apps. Giving both apps different urlSchemeSuffix values will allow the Facebook app to disambiguate their URL schemes and always redirect the user back to the correct app, even if both the free and the app is installed on the device.</p> <p>urlSchemeSuffix is supported on version 3.4.1 and above of the Facebook app. If the user has an older version of the Facebook app installed and your app uses urlSchemeSuffix parameter, the SDK will proceed as if the Facebook app isn't installed on the device and redirect the user to Safari.</p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload