FBSDK Login Error Code: 308 in Objective-C

前端 未结 18 3381
孤街浪徒
孤街浪徒 2021-01-30 20:13

I keep getting

\"Error Domain=com.facebook.sdk.login Code=308 \"The operation couldn’t be completed. (com.facebook.sdk.login error 308.)\"\"

18条回答
  •  生来不讨喜
    2021-01-30 20:47

    I had exactly the same problem and was able to find the solution by modifying the Info.plist

    I've added all the possible schemes to LSApplicationQueriesSchemes

    The complete list looks like this:

    LSApplicationQueriesSchemes
    
        fbapi
        fbapi20130214
        fbapi20130410
        fbapi20130702
        fbapi20131010
        fbapi20131219
        fbapi20140410
        fbapi20140116
        fbapi20150313
        fbapi20150629
        fbauth
        fbauth2
        fb
        fb-messenger-api20140430
        fb-messenger-platform-20150128
        fb-messenger-platform-20150218
        fb-messenger-platform-20150305
        fb-messenger-api
        fbshareextension
    
    

提交回复
热议问题