Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
186 views
in Technique[技术] by (71.8m points)

ios - 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?

question from:https://stackoverflow.com/questions/50938747/how-to-proceed-with-twitter-dropping-support-for-the-twitter-sdk

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...