graph.facebook.com - Transport security block

后端 未结 1 1950
慢半拍i
慢半拍i 2021-01-22 22:11

Error: Transport security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app\'s Info.plist file.

1条回答
  •  不知归路
    2021-01-22 22:19

    You need to update your info.plist to include a few more entries for facebook.com.

    From the Facebook iOS 9 Migration doc:

    NSAppTransportSecurity
    
        NSExceptionDomains
        
            facebook.com
            
                NSIncludesSubdomains
                                
                NSThirdPartyExceptionRequiresForwardSecrecy
                
            
            fbcdn.net
            
                NSIncludesSubdomains
                
                NSThirdPartyExceptionRequiresForwardSecrecy
                
            
            akamaihd.net
            
                NSIncludesSubdomains
                
                NSThirdPartyExceptionRequiresForwardSecrecy
                
            
        
    
    

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