Reputation: 71
I am using the latest version of Facebbok Sdk,i.e. 4.8.0, for sharing the photos from my app. Everything is working fine if I have Facebook App installed on my device, but it is showing warning
-canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
if I uninstall Facebook App, and I am no longer able to share photos. I have also configured my info.plist like this ->
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
</array>
I have also gone through various links, but nothing helped me. Thanx for any help in advance.
Upvotes: 4
Views: 1018
Reputation: 4917
Have u added this one
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb518113611684599</string>
<string>fbauth2</string>
</array>
</dict>
<dict>
Upvotes: 2