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.
Related
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.
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...
I am trying to integrate twitter in my universal application which should run on devices with IOS4+. After googling i came to know that for the devices with IOS<4.0 we can use Sharekit and for the devices with IOS>5 we have to use the twitter framework. And that twitter framework should be added weakly (BuildPhases-> beside twitter framework make it optional).
Should i use both of them in my app? If so is there any samples that can be run on devices IOS 4+ devices with the help of either Sharekit or twitter framework. Checking the version of the device and proceeding with the relavant process(either sharekit or twitter framework) is possible? If possible can you help with the snippets or sample.
DETweetComposeViewController will give you a tweet composer on iOS 4 that looks like the native one in iOS 5/6. In iOS 5+ it will use the native twitter libraries instead. It's pretty straight forward to setup and use.
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.
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.