

Twitter’s latest update will make third-party apps better
source link: https://www.theverge.com/2022/5/20/23132871/twitter-reverse-chronological-timeline-api-v2-third-party-developers-support
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Twitter’s latest update will make third-party apps better
Its latest API gives developers better access to a reverse chronological timeline
/cdn.vox-cdn.com/uploads/chorus_image/image/70893901/acastro_180827_1777_0001.0.jpg)
Illustration by Alex Castro / The Verge
Loading your audio article
Twitter announced an update on Friday that should significantly improve the experience inside third-party Twitter apps: it’s giving developers far more access to its reverse chronological timeline. This update to Twitter’s recently launched API v2, the interface that developers use to get data from Twitter, is a new (and, in my opinion, encouraging) step in Twitter’s journey to better support developers.
As Twitter notes in its announcement post, the new API v2 feature gives developers a way to “retrieve the most recent Tweets and Retweets posted by the authenticated user and the accounts they follow.” In other words, a developer can ask to see the data that Twitter shows you when you load up the first-party app with the “Latest Tweets” option selected, so their app can show it to you instead.
For third-party clients like Tweetbot, the feature (or “endpoint” in developer parlance) is a very welcome one. Paul Haddad, one of Tweetbot’s developers, is quoted in Twitter’s announcement as saying that the old way to get a user’s timeline “is one of our most used API calls.” The old version of the API was launched in 2012, so it was definitely getting long in the tooth — and developers using it faced more limits when trying to get a user’s timeline.
In an email to The Verge, Haddad explained that the change will make Tweetbot more responsive for users. “We’ll simply be able to refresh the timeline more often and allow users to scroll much further back in their timeline,” thanks to the fact that API v2 lets developers make more requests in a few ways. The old version, API v1.1, let you request the home timeline 15 times in a 15-minute window and could return up to 800 tweets. API v2 supports up to 180 requests per user in that same timeframe and retrieves 3,200 tweets.
From a development standpoint, he says, it makes things much simpler. “We currently use the v1.1 home timeline API to get a list of Tweets and then v2 APIs to fill in any v2 specific data (polls, cards, metrics, etc…). With this new v2 version we can get all that data in a single step.”
Throughout v2’s rollout (it went into testing in 2020 and was launched as the main way to interface with Twitter late last year), Twitter has made one thing very clear: it’s trying to make amends with developers after years of making new features exclusive to its first-party app. The company even removed restrictions from its terms of service that made it more difficult for third-party clients to compete with the official app, such as limits on the number of users they could have.
Talk is cheap, and it wouldn’t be surprising if some developers weren’t sure whether Twitter was actually committed. But with Friday’s announcement, the company seems to be showing that it’s continuing the trend of giving developers access to crucial features, and Haddad says that it’s “noteworthy” that Twitter actually built and released a home timeline API for v2. “There’s a number of uses for this API but a big one is for third-party Twitter clients to be Twitter clients. The fact that they released this is an indication that they’re going to continue to allow and even encourage alternative clients.”
Recommend
-
12
iOS 14.3 update is causing many third-party wireless chargers to fail Recent reports show that the recent Apple’s iOS 14.3 update is causing some problems for its wireless charging. The reports claim t...
-
10
Privacy Update: Third-party Tracking March 25, 2021 by Yev // 13 Comments
-
7
5 Free Third-Party Spotify Apps for a Better Music Listening Experience By Mihir Patkar Published 21 hours ago From a daily version of t...
-
10
Twitter Launches New Test of Promotions for Third Party Tools Within the App Published April 21, 2022 By
-
5
Twitter wants to bring the spotlight back to third-party apps — and win over developers
-
9
Third-party apps in Android 13 can capture HDR video and show better viewfinder previews By Ryne Hager Published 3 hours ago ...
-
3
Files, a popular third-party file manager, gets big update with new features...
-
11
This third-party Windows 11-style Spotify app kind of looks better than the official one...
-
6
Twitter Officially Bans All Third-Party Apps [Update] ...
-
5
The next big Bing Chat update could include experimental support for third party browsers...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK