Twitter Kit 2.0 for iOS brings API refinement and new Tweet details

Tweet

We’re delighted to announce that we’re releasing Twitter Kit 2.0 for iOS on March 23.

In the time since Twitter Kit launched at Flight 2014, we’ve learned a lot about how you use the kit and integrate Twitter in your apps. Version 2.0 is a major revision, refining Twitter Kit with your feedback, and setting the stage for great new features.

Our January release included better support for media in Tweets, with new viewers for photos and video. This release builds on that with a great new Tweet detail view, to keep users in your app when reading Tweets too. We’ve also enhanced the login experience; you can now auth users not in the iOS system accounts and manage special permissions like email address and Direct Messages access. The release also includes new options to filter search timelines by location and top Tweets, and improves accessibility with support for Dynamic Type.

With 2.0 we’ve taken these 18 months of experience, and ideas and feedback from you, to refine and simplify many features. Note that the bump to v2.0 indicates that there are some breaking changes in the APIs as follows.

Twitter Kit’s authentication implementation allows your app to request a user’s email address, and in 2.0 our auth interface now automatically handles notice and consent for such sharing via our OAuth flow. Applications that request email must update to this new implementation by June 1, 2016, after which we will no-longer support accessing email addresses via iOS system accounts.

We’ve also removed deprecated methods, and as announced back in January, we’ve now dropped support for iOS 7.

To make this upgrade as smooth as possible, we’ve updated our documentation in advance and we will provide examples for updating your code. If you have feedback or questions, please let us know in the Twitter Kit forum. We’ll also continue to provide critical fixes on the v1.5 branch until June 1, 2016, in case you cannot immediately integrate the update.

Thank you all for your great work developing with Twitter Kit so far, and providing us with feedback to help grow and improve. This release lays the groundwork for our next year of features, and we’re really excited to see what you build next.

Update Mar. 23, 2016: Twitter Kit for iOS 2.0 is now available through the Fabric app and CocoaPods. Reference our upgrade guide for help updating your application’s code.