iphone - Unable to login to Facebook after updating to IOS 9 -


i can't make app login facebook after updated ios 9.

i'm using facebook-ios-sdk (4.0.1). followed steps https://developers.facebook.com/docs/ios/ios9

here get:

2016-02-08 22:30:12.962 test[46890:887841] -canopenurl: failed url: "fbauth://authorize/?auth_type=rerequest&client_id=1567056303561905&default_audience=friends&display=touch&e2e=%7b%22init%22%3a1454963412954%7d&redirect_uri=fbconnect%3a%2f%2fsuccess&response_type=token%2csigned_request&return_scopes=true&scope=email&sdk=ios&sdk_version=4.0.1&state=%7b%22com.facebook.sdk_client_state%22%3atrue%2c%223_method%22%3a0%2c%220_auth_logger_id%22%3a%22726d5e62-ed16-43e4-a946-1266f17c8ca4%22%7d" - error: "(null)" 2016-02-08 22:30:20.954 test[46890:888120] app transport security has blocked cleartext http (http://) resource load since insecure. temporary exceptions can configured via app's info.plist file.

any thoughts?how fix that?

update:

<key>nsapptransportsecurity</key> <dict> <key>nsexceptiondomains</key> <dict>     <key>facebook.com</key>     <dict>         <key>nsincludessubdomains</key><true/>                         <key>nsthirdpartyexceptionrequiresforwardsecrecy</key><false/>         <key>nstemporaryexceptionallowsinsecurehttploads</key> <true/>     </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> <key>lsapplicationqueriesschemes</key> <array> <string>fbapi</string> <string>fbapi20130214</string> <string>fbapi20130410</string> <string>fbapi20130702</string> <string>fbapi20131010</string> <string>fbapi20131219</string>     <string>fbapi20140410</string> <string>fbapi20140116</string> <string>fbapi20150313</string> <string>fbapi20150629</string> <string>fbauth</string> <string>fbauth2</string> <string>fb-messenger-api20140430</string> 

thanks.

notice app transport security - have connect via https (and not http)

if want can edit in plist , allow specific urls http , not https, not recommended


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -