Facebook framework in iOS4/5? - ios

I can add the new facebook framework to my project with the new XCode 4.5.2 but I guess it won't work? I don't have access to a device with iOS 4 nor 5 (have simulator of 5). I only need to do Facebook share (post a status from my app).
What strategy should I use to make sure I get facebook share in all platforms (iOS 4, ios 5, ios6)? Right now we are using FacebookManager
https://github.com/ryotarai/FacebookManager

The normal Facebook iOS SDK, from Facebook, will work perfectly fine on all versions of iOS. You should just use that. It will use native auth on iOS 6 and fall back gracefully to switching to the FB app or Safari as appropriate.

Related

Facebook Native App Login in iOS 9

All!
I integrated FacebookiOS SDK 4.8 & also get up for iOS 9 as per describe on Facebook developer website.
But it always open web view in my native app automatically & ask for Login.
In 4.7 SDK, when I configure LSApplicationQueryScheme for iOS 9 then it works fine But now it does not.
I want to get native Facebook App login
Help me for this!
Thanks

FacebookSDK iOS v3.24.0-beta1

I'm testing FacebookSDK ios v3.24.0-beta1 from Facebook Developer site.
My test environment is iOS9 beta5 on iphone6+ and test app is built on Xcode7 beta-6.
I have set the info.plist for iOS9 App transport security.
And I have installed Facebook App in my device.
I try to login facebook using
[FBSession openActiveSessionWithPublishPermissions:defaultAudience:allowLoginUI:completionHandler:]
When I invoke the method. The facebook app is not launched. But I can see the login dialog in webview (I guess).
Question: I want to know whether after the v3.24.0-beta is not support app to app login.
This is by design. In order to provide the best experience for users on iOS 9, the new SDK determines the best login flow automatically. If you're running on iOS 8 or earlier, the app switch will still be preferred.

ios 9 facebook. Is this possible to continue to use 3.20 Facebook SDK, and continue to compile with iOS SDK 8?

Facebook features in our app stops work correctly on device running iOS 9.
We are using Facebook Unity SDK v6.2.2 (thus native Facebook SDK 3.20), and we compile with iOS SDK 8.
We already read Facebook's article about preparing for iOS 9.
But we do not understand some moments.
Ideally, we want to continue to use 6.2.2/3.20 Facebook SDK, and continue to compile with iOS SDK 8. Is tihs possible?
Are there any legal ways for our app to continue working with Facebook on iOS 9 WITHOUT upgrading to latest Facebook SDK?
it is possible. We did that, and all is ok for now.

Can I use SLComposeViewController in iOS 5?

I've written some code for my app, with that code a created two buttons, one for sharing with Twitter and one for sharing with Facebook.
My app deployment target is iOS 5.1+.
I made the Twitter and Facebook share sheets with SLComposeViewController.
My question is very simple: Is it possible to use SLComposeViewController in iOS 5.1?
No. You can't.
You need iOS 6 (or 6+) devices or simulators for testing this, Else the app will crash on iOS 5 and earlier versions.
Note:
In iOS 5 you can use TWTweetComposeViewController for displaying the twitter composer but there is no option for facebook in iOS 5.

facebook sdk for iOS 4.0

what version of facebook sdk should I get to make my app supported under iOS 4.0 ?I have xcode 4.5.
currently I have facebook sdk 3.1 and it I have tested from iOS 5.0 to 6. But the 4.0 version crashes while showing an error message that uses the FBSession class.
From the reference link below, we can say that Facebook iOS SDK 3.0 Beta support iOS 4.0 and later:
Will Facebook iOS SDK 3.0 not work on iOS 3.x?
but for Facebook SDK 3.1 for iOS, from the below link:
https://developers.facebook.com/ios/features/whats-new-ios-sdk-3.1/
, it says Seamless Facebook Login across iOS versions: Lets your app work seamlessly on all iOS versions 4.3+ and easily integrates with the native login support in iOS 6
hope it help you.
Update:
reference from this link http://www.iphonehacks.com/2012/07/facebook-releases-sdk-3-0-for-ios.html
Improved Facebook APIs support:
Batching for SDK requests, which should significantly improve latency for Facebook API calls.
Facebook SDK 3.0 for iOS also includes support for iOS 6 that will be released later this fall:
After iOS 6 launches to users, the SDK will automatically use the native Facebook Login in iOS 6 when available. Just enable Login with Facebook and the SDK will ensure your apps work seamlessly on all iOS versions 4.0 and later. The SDK will continue to support the iOS 6 integration in beta until Appleā€™s user launch later this fall.

Resources