CNET también está disponible en español.

Ir a español

Don't show this again

Software

Twitter puts new limits on API calls: Who's affected

Is limiting Twitter developers to 20,000 API calls an hour generous or limiting?

Twitter on Tuesday announced a new limit on third-party access to its service via its application programming interface, or API. Later this week, according to Twitter developer Alex Payne, the Twitter platform will limit API calls from a single IP address at approved ("whitelisted") Twitter services to 20,000 per hour. This will affect services that use Twitter APIs in bulk for non-messaging functions, like managing followers. Normal calls to read and write status updates are not part of this change.

There is already an API limit in place for third-party applications that give users general access to their Twitter accounts and message. AIR apps like Twhirl and TweetDeck, and iPhone apps like TwitterFon, can't hit the Twitter service more than 70 times an hour. Twitter has been known to lower this limit when the service gets overloaded. But for most end users, the limit is not noticeable. Twitter client apps are generally configured by default to access the Twitter services far less frequently than Twitter allows.

But for developers who are working on apps that extend Twitter in new ways, the new limit could have a serious impact. Services like SocialToo, which does follower management for Twitter users, rely on the Twitter API to gather data on behalf of its users. (Another product that might be affected: Mr. Tweet.) The problem, according to SocialToo developer Jesse Stay, is that for some of its individual users, getting the basic information they need requires not one API call, as they would prefer, but rather hundreds, due to the way the Twitter platform functions.

The complaints, then, from developers, are two-fold. First, as Stay says, "Why develop for the Twitter platform any more if we know we can only grow to your limit?" Related to that are complaints about the Twitter API being inefficient. It shouldn't take a hundred calls to gather one chunk of data, developers say.

For Twitter's part, Payne says that Twitter needs to put a throttle on API access to keep the service available to all developers, and furthermore that its limit will affect fewer than 10 applications (see Is Twitter Strangling its Famous API? on ReadWriteWeb).

The Twitter back-end has had periods of not keeping up with the popularity of the service, and this new limit is clearly an attempt to get ahead of the problem, even if it annoys a few developers and hobbles some services.

What I find most surprising is that Twitter is not using this issue as an opportunity to make partners, instead of enemies, of its developers. There are several ways the company could do this, from asking developers to help them re-cast the APIs so they work for more types of applications, to passing along the cost of high-volume API use to the developers of the apps (which would also force the app developers to come up with business models of their own).

As long as Twitter keeps its service free for developers, it is essentially asking for trouble. Developers will continue to build apps that add value to users but stress the platform--in the absence of constraints, why should they do any different? Limiting access to the platform by installing a governor on the engine will initially throttle developers' creativity, although as necessity is the mother of invention, it may also lead to even more clever solutions for improving the Twitter experience.

The logical, eventual outcome of this change should be an improvement in the Twitter API that allows the follower-management products to work more efficiently. However, Twitter developers are already working on even higher-profile updates to improve the platform's services. As the recently-updated developers' Wiki says, eagerly anticipated features like OAuth support and the open "fire hose" feed of status updates are scheduled to go into test this month or next.