Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to proceed with Twitter dropping support for the Twitter SDK?

Since Twitter announced that they will be discontinuing support for the Twitter SDK for iOS, Android and Unity (https://blog.twitter.com/developer/en_us/topics/tools/2018/discontinuing-support-for-twitter-kit-sdk.html), I am unsure of the best way to proceed with my application. I am specifically interested in options for iOS.

I am currently only using a subset of the full capabilities, primarily:

  • Authentication
  • Fetching tweets
  • Displaying tweets

For authentication, OAuthSwift looks to be a possible replacement. https://github.com/OAuthSwift/OAuthSwift

For fetching tweets from the API, Swifter is a library that I have been using and could continue to use. https://github.com/mattdonnelly/Swifter

However, I'm currently using the TWTRTweetView class of the Twitter SDK and am not aware of any other options to replace this.

Twitter seem to be suggesting to use web views to display tweets in apps but this option doesn't lend well to my use cases. I'm looking for a native solution.

Can anyone suggest any other alternatives or approaches to take in light of these developments?

like image 530
JaseTheAce Avatar asked Jun 20 '18 00:06

JaseTheAce


People also ask

Why is Twitter API not working?

This is usually a temporary error, for example in a high load situation or if an endpoint is temporarily having issues. Check the Twitter API status page or the developer community forum in case others are having similar issues, or simply wait and try again later.

Does Twitter have an SDK?

Twitter maintains a set of official libraries and SDKs, listed here. We also include a list of community-supported libraries lower on this page.

Why is my Twitter API suspended?

Here are some reasons your App may get suspended: The app is in violation of one or more of Twitter's developer terms such as our automation rules. The app changed usage that is outside of their specific use case. The app has been dormant for over 365 days.


1 Answers

As mentioned in the blog :

Documentation and source code for all three SDKs on GitHub will remain available for consumption in an archived state.

Also,

You can fork the Twitter Kit project and build it into your app, or copy the parts you need into your app. Or you can use Twitter’s standard API to power your own native displays and login functionality.

like image 188
Manav Avatar answered Sep 22 '22 01:09

Manav