I am sure this problem may be related to ATS on iOS 9.
Be sure to follow the steps provided by the FB team to get their SDKs working on iOS 9. Release notes .
EXPLANATION
Application Transport Security
"App Transport Security is a feature that improves the security of connections between an application and web services. This feature consists of default connection requirements that correspond to the best secure connection methods. Applications can override this default behavior and disable transport security."
"All connections using the NSURLConnection, CFURL, or NSURLSession APIs use the default behavior for the Transport Security application in applications built for iOS 9.0 or later and OS X version 10.11 or later. Inappropriate connections will not work."
Source: Apple - Application Transport Security Technology
This means that if you try to connect to an application created for iOS 9.0 or later, or OS X v10.11 or later, and this connection does not meet the ATS requirements, the connection will fail.
Decision
There are two solutions to this problem.
Recommended
Make sure your connections meet ATS requirements.
"Temporary solution"
Disable the ATS of your application to allow connections that do not match this.
This may be a temporary solution, because since you can now disable ATS from being used in your application, this option may be removed in future versions and you will be forced to use ATS as the default security feature.
FACEBOOK SDK
Facebook to win some time and let its user continue to use their SDK in iOS 9.0 and OS X 10.11. They chose the "Workaround", and because of this you have to.
- Disable ATS from your application.
- or whitelists of Facebook servers for network requests.
To do this later, you must add the following to your target .plist
<key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>facebook.com</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> <false/> </dict> <key>fbcdn.net</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> <false/> </dict> <key>akamaihd.net</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> <false/> </dict> </dict> </dict>
In addition, you may need to make other changes. If you use any of the Facebook dialogs (for example, "Login, Share, App Invites, etc."), which can carry out the transition to Facebook applications.
Source: Facebook - Preparing Your iOS9 Apps