Facebook iOS SDK - GitHub - Cannot Switch Caller App

According to github

If the application runs on an iOS version that supports multitasking, and if the device has a Facebook application version 3.2.3 or higher, the SDK tries to open an authorization dialog with the Facebook application. After the user grants or denies authorization, the Facebook application redirects back to the calling application, passes the authorization token, expiration date and any other parameters that the OAuth Facebook server can return. *

My application calls authorize: permissions: delegate: and my application is paused and the Facebook application starts and requests authorization. After the user allowed or denied, the Facebook applications remained in FEED NEWS (without returning to my application).

Questions:

  • Can I authorize or log in and return to my application?
  • How can my application check if authorization and login are allowed and do not need to be repeated again?
+3
source share
2 answers

I found this.

Facebook , . ? , .plist , fb [appId]://URL ( "[appId]" - Facebook).

:)

+4

, , , , :

go to developer.facebook.com

Select your app from list (App which app is your are using in URL scheme)

If your app is selected as native app then it will ask for bundle identifiers

provide him bundle identifier by using which you are building your app

if your using wildcard bundle identifier then provide like com.product.abc otherwise provide full bundle identifier.

enter image description here

0

Source: https://habr.com/ru/post/1775961/


All Articles