In which iOS does Facebook Share Dialog work in? - ios

I intend to use Facebook Share Dialog(https://developers.facebook.com/docs/howtos/share-dialogs-ios-sdk/#sharedialog) for my application and interested to know whether it supports iOS5 or it is only for iOS6 and above?

It's supported on any iOS version that the Facebook app supports, which does include iOS5.
Make sure you get the latest version from the app store.

SLComposeViewController is only available in iOS6 if that's what you mean?
UIActivityViewController is also only available in iOS6.
If you're using less than iOS 6.0 then you'll have to fall back on the Facebook SDK etc...

Related

How can I implement Sign-In-With-Apple in a webview?

I have implemented SIWA natively on iOS, however it is only offered on iOS 13+. Is there a way to do an iOS 12- fallback SIWA in a webview? I am having trouble finding any examples of this.
Sign in With Apple doesn't make the whole app incompatible with iOS 12 or lower (the same is for SwiftUI).
If you want to support Sign in With Apple on older versions of iOS (as well as the non-iOS platform) you can use Sign in with Apple JS framework.
Useful link: https://forums.developer.apple.com/thread/119198

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 framework in iOS4/5?

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.

Facebook with iOS5 and iOS6

I'm about to release an app and it must support both iOS5 and iOS6. But with the new Facebook SDK 3.1 i'm not quite sure on how to integrate the Facebook functionality to work with both iOS versions.
What is the best approach to make both the login and wall posting actions to work in iOS5 and iOS6 version? Are there any best-practices already?
Many thanks in advance!
The latest Facebook SDK supports both iOS versions just as well. If you're on iOS6, it will use the built-in authentication, otherwise it'll automatically fallback to the old "fast-app-switching" or Safari model.
So if you implement the 3.1 SDK, you won't have to worry about how the user authenticates:
The main purpose of the upgrade is to bring compatibility with iOS
v6.0 and its native Facebook support. Using v3.1 of the SDK means that
your apps benefit greatly from that support when it is available, but
that they automatically fall back to use the previous app-switching or
web-based authentication flows on older versions of the operating
system.
More on implementing support for the built-in Facebook accounts on iOS 6: http://developers.facebook.com/docs/howtos/ios-6/

iOS5 - Twitter API

I want to use Twitter API which is available in iOS5. And I'm successfully posting to twitter as well. But my fear is that, the deployment target for my iphone is 4.2 and so will the app work perfectly with iOS 4.2 devices?
(I don't have iOS 4.2 device to test that)
Use a weak library link and double-check the classes exist before you use them.

Resources